File tree Expand file tree Collapse file tree
.github/workflows/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- run :
2- timeout : 5m
1+ version : " 2"
2+
3+ # note: no paralleltest because we test operating system environment variables
4+
35linters :
46 enable :
5- - asasalint
6- - asciicheck
7- - bidichk
8- - bodyclose
9- - copyloopvar
10- - dogsled
11- - dupword
12- - durationcheck
13- - errcheck
14- - errname
15- - errorlint
16- - exhaustive
17- - gochecknoinits
18- - gocritic
19- - gofmt
20- - gosimple
21- - govet
22- - ineffassign
23- - makezero
24- - misspell
25- - musttag
26- - nilnil
27- - noctx
28- - perfsprint
29- - prealloc
30- - predeclared
31- - reassign
32- - revive
33- - rowserrcheck
34- - staticcheck
35- - sqlclosecheck
36- - tagalign
37- - tenv
38- - unused
39- - whitespace
40-
41- linters-settings :
42- exhaustive :
43- default-signifies-exhaustive : true
7+ - asasalint
8+ - asciicheck
9+ - bidichk
10+ - bodyclose
11+ - copyloopvar
12+ - dogsled
13+ - dupword
14+ - durationcheck
15+ - errname
16+ - errorlint
17+ - exhaustive
18+ - gochecknoinits
19+ - gocritic
20+ - makezero
21+ - misspell
22+ - musttag
23+ - nilnil
24+ - noctx
25+ - perfsprint
26+ - prealloc
27+ - predeclared
28+ - reassign
29+ - revive
30+ - rowserrcheck
31+ - sqlclosecheck
32+ - tagalign
33+ - usetesting
34+ - whitespace
35+ settings :
36+ exhaustive :
37+ default-signifies-exhaustive : true
38+ exclusions :
39+ generated : lax
40+ presets :
41+ - comments
42+ formatters :
43+ enable :
44+ - gofmt
45+ exclusions :
46+ generated : lax
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ lint: vet
4444# locally install build dependencies
4545[group (' build' )]
4646init :
47- go install github.com/ golangci/ golangci-lint/ cmd/ golangci-lint@v1 .62.2
47+ go install github.com/ golangci/ golangci-lint/ v2 / cmd/ golangci-lint@v2 .8.0
4848 go install github.com/ hashicorp/ copywrite@v0.24.0
4949
5050# show host system information
You can’t perform that action at this time.
0 commit comments