Re-enable linters now that golangci-lint has been updated (#5615)
This commit is contained in:
parent
a0a9099037
commit
06fb78aa26
2 changed files with 2 additions and 1 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
linters:
|
||||
enable:
|
||||
- gofmt
|
||||
- nolintlint
|
||||
|
||||
issues:
|
||||
max-issues-per-linter: 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue