update golangci-lint to v1.24 on github workflow (#40)

* update golangci-lint to v1.24 on github workflow

* fix lint errors
This commit is contained in:
César Nieto
2020-04-06 16:04:18 -07:00
committed by GitHub
parent 9ca4daa906
commit 775874cf86
7 changed files with 30 additions and 32 deletions

View File

@@ -31,7 +31,7 @@ jobs:
GO111MODULE: on
GOOS: linux
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0
$(go env GOPATH)/bin/golangci-lint run --timeout=5m --config ./.golangci.yml
go mod vendor
go test -v -race ./...