Skip to content

Commit 18f96bc

Browse files
committedFeb 29, 2024
fix: use golangci-lint 1.56.2 in CI
1 parent 97759d8 commit 18f96bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# Required: the version of golangci-lint is required and
3535
# must be specified without patch version: we always use the
3636
# latest patch version.
37-
version: v1.50.1
37+
version: v1.56.2
3838
args: --timeout 10m
3939
github-token: ${{ secrets.github_token }}
4040
if: env.GIT_DIFF

‎.golangci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ linters:
1010
- goconst
1111
- gofmt
1212
- goimports
13-
- revive
13+
# - revive
1414
- gosec
1515
- gosimple
1616
- govet
1717
- ineffassign
1818
- misspell
19-
- nakedret
19+
# - nakedret
2020
- nolintlint
2121
- prealloc
2222
- staticcheck

0 commit comments

Comments
 (0)
Please sign in to comment.