File tree Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Original file line number Diff line number Diff line change 37
37
- run : go mod download
38
38
- run : go build -v .
39
39
- name : Run linters
40
- uses : golangci/golangci-lint-action@v6
40
+ uses : golangci/golangci-lint-action@v7
41
41
with :
42
42
version : latest
43
43
Original file line number Diff line number Diff line change 3
3
#
4
4
# SPDX-License-Identifier: MPL-2.0
5
5
6
+ version : " 2"
7
+
6
8
# Visit https://golangci-lint.run/ for usage documentation
7
9
# and information on other useful linters
8
10
issues :
9
11
max-issues-per-linter : 0
10
12
max-same-issues : 0
11
13
12
14
linters :
13
- disable-all : true
15
+ default : standard
16
+
17
+ formatters :
14
18
enable :
15
- - durationcheck
16
- - errcheck
17
- - forcetypeassert
18
- - godot
19
19
- gofmt
20
- - gosimple
21
- - ineffassign
22
- - makezero
23
- - misspell
24
- - nilerr
25
- - predeclared
26
- - staticcheck
27
- - usetesting
28
- - unconvert
29
- - unparam
30
- - unused
31
- - govet
You can’t perform that action at this time.
0 commit comments