File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 1111jobs :
1212
1313 lint :
14- runs-on : ubuntu-22 .04
14+ runs-on : ubuntu-24 .04
1515 steps :
16- - uses : actions/setup-go@v5
16+ - uses : actions/setup-go@v6
1717 with :
1818 go-version : 1.x # latest
19- - uses : actions/checkout@v4
20- - uses : golangci/golangci-lint-action@v6
19+ - uses : actions/checkout@v5
20+ - uses : golangci/golangci-lint-action@v8
2121 with :
22- version : v1.61
22+ version : v2.6
2323
2424 commit :
2525 runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 1- # For documentation, see https://golangci-lint.run/usage/configuration/
1+ version : " 2"
2+
3+ formatters :
4+ enable :
5+ - gofmt
26
37linters :
48 disable :
59 - errcheck
10+ settings :
11+ staticcheck :
12+ checks :
13+ - all # Enable all checks, except...
14+ - -ST1005 # https://staticcheck.dev/docs/checks/#ST1005 Incorrectly formatted error string.
15+ - -ST1000 # https://staticcheck.dev/docs/checks/#ST1000 Incorrect or missing package comment.
You can’t perform that action at this time.
0 commit comments