File tree Expand file tree Collapse file tree 2 files changed +29
-19
lines changed Expand file tree Collapse file tree 2 files changed +29
-19
lines changed Original file line number Diff line number Diff line change 30
30
go-version : ${{ env.GO_VERSION }}
31
31
32
32
- name : Lint
33
- uses : golangci/golangci-lint-action@v6
33
+ uses : golangci/golangci-lint-action@v7
34
34
35
35
- name : Build
36
36
run : go build -v ./...
Original file line number Diff line number Diff line change
1
+ version : " 2"
1
2
linters :
2
3
enable :
3
- - errcheck
4
4
- goconst
5
5
- gocritic
6
+ - gosec
7
+ settings :
8
+ gosec :
9
+ excludes :
10
+ - G101
11
+ - G107
12
+ exclusions :
13
+ generated : lax
14
+ presets :
15
+ - comments
16
+ - common-false-positives
17
+ - legacy
18
+ - std-error-handling
19
+ paths :
20
+ - .+_test.go
21
+ - third_party$
22
+ - builtin$
23
+ - examples$
24
+ formatters :
25
+ enable :
6
26
- gofmt
7
27
- goimports
8
- - gosec
9
- - gosimple
10
- - govet
11
- - ineffassign
12
- - staticcheck
13
- - typecheck
14
- - unused
15
-
16
- linters-settings :
17
- gosec :
18
- excludes :
19
- - G101
20
- - G107
21
-
22
- issues :
23
- exclude-files :
24
- - " .+_test.go"
28
+ exclusions :
29
+ generated : lax
30
+ paths :
31
+ - .+_test.go
32
+ - third_party$
33
+ - builtin$
34
+ - examples$
You can’t perform that action at this time.
0 commit comments