File tree Expand file tree Collapse file tree 2 files changed +26
-11
lines changed
Expand file tree Collapse file tree 2 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 3030 - run : go mod download
3131 - run : go build -v .
3232 - name : Run linters
33- uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
33+ uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
3434 with :
3535 version : latest
3636
Original file line number Diff line number Diff line change 1- # Visit https://golangci-lint.run/ for usage documentation
2- # and information on other useful linters
3- issues :
4- max-issues-per-linter : 0
5- max-same-issues : 0
6-
1+ version : " 2"
72linters :
8- disable-all : true
3+ default : none
94 enable :
105 - copyloopvar
116 - durationcheck
127 - errcheck
138 - forcetypeassert
149 - godot
15- - gofmt
16- - gosimple
1710 - govet
1811 - ineffassign
1912 - makezero
2013 - misspell
2114 - nilerr
2215 - predeclared
2316 - staticcheck
24- - tenv
2517 - unconvert
2618 - unparam
2719 - unused
20+ exclusions :
21+ generated : lax
22+ presets :
23+ - comments
24+ - common-false-positives
25+ - legacy
26+ - std-error-handling
27+ paths :
28+ - third_party$
29+ - builtin$
30+ - examples$
31+ issues :
32+ max-issues-per-linter : 0
33+ max-same-issues : 0
34+ formatters :
35+ enable :
36+ - gofmt
37+ exclusions :
38+ generated : lax
39+ paths :
40+ - third_party$
41+ - builtin$
42+ - examples$
You can’t perform that action at this time.
0 commit comments