File tree Expand file tree Collapse file tree 2 files changed +48
-16
lines changed Expand file tree Collapse file tree 2 files changed +48
-16
lines changed Original file line number Diff line number Diff line change 6767 env :
6868 GO111MODULE : off
6969 - name : Run golangci-lint
70- uses : golangci/golangci-lint-action@v6
70+ uses : golangci/golangci-lint-action@v8
7171 with :
72- version : v1.64.8
72+ version : v2.1.6
7373 args : --timeout 5m
7474 test :
7575 name : Ensure unit tests are passing
Original file line number Diff line number Diff line change 1- run :
2- timeout : 2m
1+ version : " 2"
32linters :
43 enable :
5- - gofmt
6- - govet
7- - goimports
8- - ineffassign
94 - misspell
105 - unconvert
6+ - ineffassign
117 - unused
12- linters-settings :
13- goimports :
14- local-prefixes : github.com/argoproj-labs/argocd-image-updater
15- issues :
16- exclude-files :
17- - " .*\\ .pb\\ .go"
18- exclude-dirs :
19- - vendor/
8+ - govet
9+ exclusions :
10+ generated : lax
11+ presets :
12+ - comments
13+ - common-false-positives
14+ - legacy
15+ - std-error-handling
16+ paths :
17+ - .*\.pb\.go
18+ - vendor/
19+ - third_party$
20+ - builtin$
21+ - examples$
22+ settings :
23+ staticcheck :
24+ checks :
25+ - all
26+ - ' -QF1003'
27+ - ' -QF1008'
28+ - ' -QF1011'
29+ - ' -QF1012'
30+ - ' -ST1003'
31+ - ' -ST1005'
32+ - ' -ST1016'
33+ - ' -ST1023'
34+ formatters :
35+ enable :
36+ - gofmt
37+ - goimports
38+ settings :
39+ goimports :
40+ local-prefixes :
41+ - github.com/argoproj-labs/argocd-image-updater
42+ exclusions :
43+ generated : lax
44+ paths :
45+ - .*\.pb\.go
46+ - vendor/
47+ - third_party$
48+ - builtin$
49+ - examples$
50+ run :
51+ timeout : 5m
You can’t perform that action at this time.
0 commit comments