Re-enable linters now that golangci-lint has been updated (#5615)

This commit is contained in:
Sam Coe 2022-05-11 16:57:57 +02:00 committed by GitHub
parent a0a9099037
commit 06fb78aa26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -40,7 +40,7 @@ jobs:
go mod verify
go mod download
LINT_VERSION=1.45.2
LINT_VERSION=1.46.0
curl -fsSL https://github.com/golangci/golangci-lint/releases/download/v${LINT_VERSION}/golangci-lint-${LINT_VERSION}-linux-amd64.tar.gz | \
tar xz --strip-components 1 --wildcards \*/golangci-lint
mkdir -p bin && mv golangci-lint bin/

View file

@ -1,6 +1,7 @@
linters:
enable:
- gofmt
- nolintlint
issues:
max-issues-per-linter: 0