File tree Expand file tree Collapse file tree 2 files changed +41
-37
lines changed Expand file tree Collapse file tree 2 files changed +41
-37
lines changed Original file line number Diff line number Diff line change 2626 with :
2727 go-version-file : go.mod
2828
29- - uses : golangci/golangci-lint-action@v6.5.2
29+ - uses : golangci/golangci-lint-action@v8.0.0
3030 with :
31- version : v1.61.0
31+ version : v2.1.6
3232
3333 - uses : reviewdog/action-misspell@v1
3434 if : ${{ always() }}
Original file line number Diff line number Diff line change 1+ version : " 2"
12run :
23 timeout : 5m
34
4- issues :
5- exclude-dirs :
6- - internal
7- - pkg/registry
8- exclude-rules :
9- - path : test # Excludes /test, *_test.go etc.
10- linters :
11- - gosec
12-
135linters :
6+ exclusions :
7+ paths :
8+ - internal
9+ - pkg/registry
10+ rules :
11+ - path : test
12+ linters :
13+ - gosec
1414 enable :
15- - asciicheck
16- - depguard
17- - errorlint
18- - gofmt
19- - gosec
20- - goimports
21- - importas
22- - prealloc
23- - revive
24- - misspell
25- - stylecheck
26- - tparallel
27- - unconvert
28- - unparam
29- - unused
30- - whitespace
31-
15+ - asciicheck
16+ - depguard
17+ - errorlint
18+ - gosec
19+ - importas
20+ - misspell
21+ - prealloc
22+ - revive
23+ - staticcheck
24+ - tparallel
25+ - unconvert
26+ - unparam
27+ - unused
28+ - whitespace
3229 disable :
33- - errcheck
34-
35- linters-settings :
36- depguard :
37- rules :
38- main :
39- deny :
40- - pkg : " crypto/sha256"
41- desc : use crypto.SHA256 instead
30+ - errcheck
31+ settings :
32+ depguard :
33+ rules :
34+ main :
35+ deny :
36+ - pkg : crypto/sha256
37+ desc : use crypto.SHA256 instead
38+ formatters :
39+ exclusions :
40+ paths :
41+ - internal
42+ - pkg/registry
43+ enable :
44+ - gofmt
45+ - goimports
You can’t perform that action at this time.
0 commit comments