[lbry] ci: remove lint from test

This commit is contained in:
Roy Lee 2021-09-14 12:28:47 -07:00
parent 7027a4a980
commit e748b5bdf1
2 changed files with 4 additions and 13 deletions

View file

@ -12,15 +12,17 @@ jobs:
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: ${{ matrix.go }} go-version: ${{ matrix.go }}
- name: Check out source - name: Check out source
uses: actions/checkout@v2 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 - name: Build
run: go build ./... run: go build ./...
- name: Test - name: Test
run: | run: |
sh ./goclean.sh sh ./goclean.sh
- name: Send lbcutil coverage - name: Send lbcutil coverage
uses: shogo82148/actions-goveralls@v1 uses: shogo82148/actions-goveralls@v1
with: with:

View file

@ -32,15 +32,4 @@ for i in $(find . -name go.mod -type f -print); do
go tool cover -func profile.cov 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 done