File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 just sysinfo
2525 - name : Run Go Test
2626 run : |
27- just init tidy lint test
27+ just init tidy lint tests
2828
Original file line number Diff line number Diff line change 1- run :
2- timeout : 5m
1+ version : " 2"
32linters :
43 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- - paralleltest
29- - perfsprint
30- - prealloc
31- - predeclared
32- - reassign
33- - revive
34- - rowserrcheck
35- - staticcheck
36- - sqlclosecheck
37- - tagalign
38- - tenv
39- - unused
40- - whitespace
41-
42- linters-settings :
43- paralleltest :
44- ignore-missing-subtests : true
45- exhaustive :
46- default-signifies-exhaustive : true
4+ - asasalint
5+ - asciicheck
6+ - bidichk
7+ - bodyclose
8+ - copyloopvar
9+ - dogsled
10+ - dupword
11+ - durationcheck
12+ - errname
13+ - errorlint
14+ - exhaustive
15+ - gochecknoinits
16+ - gocritic
17+ - makezero
18+ - misspell
19+ - musttag
20+ - nilnil
21+ - noctx
22+ - paralleltest
23+ - perfsprint
24+ - prealloc
25+ - predeclared
26+ - reassign
27+ - revive
28+ - rowserrcheck
29+ - sqlclosecheck
30+ - tagalign
31+ - usetesting
32+ - whitespace
33+ settings :
34+ exhaustive :
35+ default-signifies-exhaustive : true
36+ paralleltest :
37+ ignore-missing-subtests : true
38+ exclusions :
39+ generated : lax
40+ presets :
41+ - comments
42+ formatters :
43+ enable :
44+ - gofmt
45+ exclusions :
46+ generated : lax
4747
Original file line number Diff line number Diff line change 1515
1616# run tests across source tree
1717[group (' build' )]
18- test :
18+ tests :
1919 go test -v -race -count=1 ./ ...
2020
2121# apply go vet command on source tree
@@ -36,4 +36,4 @@ lint: vet
3636# locally install build dependencies
3737[group (' build' )]
3838init :
39- go install github.com/ golangci/ golangci-lint/ cmd/ golangci-lint@v1 .62.2
39+ go install github.com/ golangci/ golangci-lint/ v2 / cmd/ golangci-lint@v2 .11.4
Original file line number Diff line number Diff line change 11module cattlecloud.net/go/urlpath
22
3- go 1.24
3+ go 1.26
44
55require (
66 github.com/gorilla/mux v1.8.1
You can’t perform that action at this time.
0 commit comments