File tree 2 files changed +7
-9
lines changed
2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 16
16
- name : golangci-lint
17
17
uses : golangci/golangci-lint-action@v3
18
18
with :
19
+ skip-cache : true
19
20
args : --config .golangci.yml --timeout 2m
20
- version : v1.56.2
21
+ version : v1.61.0
21
22
22
23
- name : Test
23
24
run : go test ./...
Original file line number Diff line number Diff line change 1
1
# golangci.com configuration
2
2
# https://github.com/golangci/golangci/wiki/Configuration
3
3
service :
4
- golangci-lint-version : v1.56.2 # use the fixed version to not introduce new linters unexpectedly
4
+ golangci-lint-version : v1.61.0 # use the fixed version to not introduce new linters unexpectedly
5
5
6
6
linters-settings :
7
7
govet :
8
8
auto-fix : true
9
- check-shadowing : true
10
9
settings :
11
10
printf :
12
11
funcs :
@@ -44,6 +43,7 @@ linters-settings:
44
43
extra-rules : true
45
44
whitespace :
46
45
auto-fix : true
46
+ shadow : true
47
47
48
48
linters :
49
49
enable :
@@ -82,14 +82,11 @@ linters:
82
82
enable-all : false
83
83
disable-all : true
84
84
85
- run :
86
- # build-tags:
87
- skip-dirs :
85
+ issues :
86
+ exclude-dirs :
88
87
- internal/fixtures
89
- skip -files :
88
+ exclude -files :
90
89
- " (.*/)*.*_test.go"
91
-
92
- issues :
93
90
exclude-rules :
94
91
- linters :
95
92
- gosec
You can’t perform that action at this time.
0 commit comments