Skip to content

Commit fb61c90

Browse files
authored
Merge pull request #11187 from k8s-infra-cherrypick-robot/cherry-pick-11185-to-release/2.0
[release/2.0] Update golangci to 1.60.3
2 parents 88aa2f5 + 5942b3f commit fb61c90

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- uses: ./.github/actions/install-go
3434
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
3535
with:
36-
version: v1.60.1
36+
version: v1.60.3
3737
skip-cache: true
3838
args: --timeout=8m
3939

.golangci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
linters:
22
enable:
33
- depguard # Checks for dependencies that should not be (re)introduced. See "linter-settings" for further details.
4-
- exportloopref # Checks for pointers to enclosing loop variables
4+
# - copyloopvar # Checks for loop variable copies in Go 1.22+
55
- gofmt
66
- goimports
77
- gosec
@@ -73,6 +73,7 @@ linters-settings:
7373
- G306
7474
- G402
7575
- G404
76+
- G115
7677
nolintlint:
7778
allow-unused: true
7879

0 commit comments

Comments
 (0)