File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 cache : false # see actions/setup-go#368
3939
4040 - uses : actions/checkout@v4
41- - uses : golangci/golangci-lint-action@v6
41+ - uses : golangci/golangci-lint-action@v8
4242 with :
43- version : v1.61.0
43+ version : v2.1.6
4444 skip-cache : true
4545 args : --timeout=5m
4646
Original file line number Diff line number Diff line change 1+ version : " 2"
12linters :
23 enable :
34 - copyloopvar
4- - gofmt
5- - goimports
5+ - dupword
66 - gosec
7+ - govet
78 - ineffassign
89 - misspell
910 - nolintlint
1011 - revive
1112 - staticcheck
12- - tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
1313 - unconvert
1414 - unused
15- - govet
16- - dupword # Checks for duplicate words in the source code
1715 disable :
1816 - errcheck
19-
20- run :
21- timeout : 5m
22-
23- issues :
24- exclude-dirs :
25- - api
26- - cluster
27- - design
28- - docs
29- - docs/man
30- - releases
31- - reports
32- - test # e2e scripts
17+ exclusions :
18+ generated : lax
19+ presets :
20+ - comments
21+ - common-false-positives
22+ - legacy
23+ - std-error-handling
24+ paths :
25+ - api
26+ - cluster
27+ - design
28+ - docs
29+ - docs/man
30+ - releases
31+ - reports
32+ - test
33+ formatters :
34+ enable :
35+ - gofmt
36+ - goimports
37+ exclusions :
38+ generated : lax
39+ paths :
40+ - api
41+ - cluster
42+ - design
43+ - docs
44+ - docs/man
45+ - releases
46+ - reports
47+ - test
You can’t perform that action at this time.
0 commit comments