File tree Expand file tree Collapse file tree 3 files changed +28
-18
lines changed
Expand file tree Collapse file tree 3 files changed +28
-18
lines changed Original file line number Diff line number Diff line change 4545 go-version-file : ' go.mod'
4646 - run : make build
4747 - name : Run linters
48- uses : golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6
49- with :
50- version : latest
48+ uses : golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7
5149
5250 test-terraform :
5351 name : integration-terraform
Original file line number Diff line number Diff line change 2929 go-version-file : ' go.mod'
3030 - run : go build -v .
3131 - name : Run linters
32- uses : golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6
33- with :
34- version : latest
32+ uses : golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7
3533
3634 generate :
3735 name : generate diff test
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-same-issues : 0
5-
1+ version : " 2"
62linters :
7- disable-all : true
3+ default : none
84 enable :
95 - durationcheck
106 - errcheck
11- # TODO: enable copyloopvar
12- # - copyloopvar
137 - forcetypeassert
148 - godot
15- - gofmt
16- - gosimple
9+ - govet
1710 - ineffassign
1811 - makezero
1912 - misspell
2013 - nilerr
2114 - predeclared
2215 - staticcheck
23- - usetesting
2416 - unconvert
2517 - unparam
2618 - unused
27- - govet
19+ - usetesting
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-same-issues : 0
33+ formatters :
34+ enable :
35+ - gofmt
36+ exclusions :
37+ generated : lax
38+ paths :
39+ - third_party$
40+ - builtin$
41+ - examples$
You can’t perform that action at this time.
0 commit comments