From e748b5bdf1835d16c34392d676816736b3f3487a Mon Sep 17 00:00:00 2001 From: Roy Lee Date: Tue, 14 Sep 2021 12:28:47 -0700 Subject: [PATCH] [lbry] ci: remove lint from test --- .github/workflows/go.yml | 6 ++++-- goclean.sh | 11 ----------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 08f0e3a..b0eb8b4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,15 +12,17 @@ jobs: uses: actions/setup-go@v2 with: go-version: ${{ matrix.go }} + - name: Check out source uses: actions/checkout@v2 - - name: Install Linters - run: "curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0" + - name: Build run: go build ./... + - name: Test run: | sh ./goclean.sh + - name: Send lbcutil coverage uses: shogo82148/actions-goveralls@v1 with: diff --git a/goclean.sh b/goclean.sh index a9fe858..67d58c4 100755 --- a/goclean.sh +++ b/goclean.sh @@ -32,15 +32,4 @@ for i in $(find . -name go.mod -type f -print); do go tool cover -func profile.cov ) - # check linters - (cd $MODNAME && \ - go mod download && \ - golangci-lint run --deadline=10m --disable-all \ - --enable=gofmt \ - --enable=goimports \ - --enable=golint \ - --enable=govet \ - --enable=gosimple \ - --enable=unconvert - ) done