[lbry] ci: remove lint from test
This commit is contained in:
parent
7027a4a980
commit
e748b5bdf1
2 changed files with 4 additions and 13 deletions
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
|
@ -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:
|
||||
|
|
11
goclean.sh
11
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
|
||||
|
|
Loading…
Reference in a new issue