File tree Expand file tree Collapse file tree 2 files changed +35
-19
lines changed Expand file tree Collapse file tree 2 files changed +35
-19
lines changed Original file line number Diff line number Diff line change 25
25
check-latest : true
26
26
27
27
- name : Run Golangci lint
28
- uses : golangci/golangci-lint-action@v6
28
+ uses : golangci/golangci-lint-action@v7
29
29
with :
30
30
version : latest
31
31
args : --print-resources-usage
Original file line number Diff line number Diff line change 1
- run :
2
- timeout : 120m
3
-
1
+ version : " 2"
4
2
linters :
5
3
enable :
6
4
- asciicheck
7
5
- bidichk
8
6
- bodyclose
9
- - errorlint
10
7
- copyloopvar
8
+ - errorlint
9
+ - gomodguard
10
+ - gosec
11
+ settings :
12
+ gomodguard :
13
+ blocked :
14
+ modules :
15
+ - github.com/Azure/go-autorest/autorest/azure/auth :
16
+ reason : deprecated
17
+ gosec :
18
+ confidence : low
19
+ config :
20
+ global :
21
+ audit : true
22
+ exclusions :
23
+ generated : lax
24
+ presets :
25
+ - comments
26
+ - common-false-positives
27
+ - legacy
28
+ - std-error-handling
29
+ paths :
30
+ - third_party$
31
+ - builtin$
32
+ - examples$
33
+ formatters :
34
+ enable :
11
35
- gofmt
12
36
- goimports
13
- - gosec
14
-
15
- linters-settings :
16
- gosec :
17
- excludes : []
18
- confidence : low
19
- config :
20
- global :
21
- audit : true
22
-
23
- issues : {}
24
-
25
- output :
26
- sort-results : true
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