File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 42
42
- name : golangci-lint
43
43
uses : golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6
44
44
with :
45
- version : v1.57.2
45
+ version : v1.60.3
46
46
args : -v --timeout 5m
47
47
build :
48
48
name : Build and check device plugins
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ linters:
12
12
- bodyclose
13
13
- dogsled
14
14
- errcheck
15
- - exportloopref
15
+ - copyloopvar
16
16
- gocognit
17
17
- goconst
18
18
- gocyclo
19
19
- godot
20
- - goerr113
20
+ - err113
21
21
- gofmt
22
22
- goimports
23
23
- gomodguard
@@ -62,6 +62,9 @@ linters-settings:
62
62
63
63
issues :
64
64
exclude-rules :
65
+ - linters :
66
+ - gosec
67
+ text : " G115"
65
68
- path : _test\.go
66
69
linters :
67
70
- gocognit
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ EXTRA_BUILD_ARGS ?= ""
10
10
11
11
CERT_MANAGER_VERSION ?= v1.15.2
12
12
CONTROLLER_GEN_VERSION ?= v0.16.1
13
- GOLANGCI_LINT_VERSION ?= v1.57.2
13
+ GOLANGCI_LINT_VERSION ?= v1.60.3
14
14
KIND_VERSION ?= v0.23.0
15
15
GOLICENSES_VERSION ?= v1.6.0
16
16
# Default bundle image tag
Original file line number Diff line number Diff line change @@ -638,7 +638,6 @@ func TestLabeling(t *testing.T) {
638
638
t .Fatalf ("can't create temporary subroot directory: %+v" , err )
639
639
}
640
640
641
- tc := tc
642
641
t .Run (tc .name , func (t * testing.T ) {
643
642
err := os .MkdirAll (path .Join (subroot , "0" ), 0750 )
644
643
if err != nil {
You can’t perform that action at this time.
0 commit comments