Update golangci to 1.60.3

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan 2024-12-19 22:16:28 -08:00 committed by k8s-infra-cherrypick-robot
parent 88aa2f531d
commit 5942b3fcba
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ jobs:
- uses: ./.github/actions/install-go
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.60.1
version: v1.60.3
skip-cache: true
args: --timeout=8m

View File

@ -1,7 +1,7 @@
linters:
enable:
- depguard # Checks for dependencies that should not be (re)introduced. See "linter-settings" for further details.
- exportloopref # Checks for pointers to enclosing loop variables
# - copyloopvar # Checks for loop variable copies in Go 1.22+
- gofmt
- goimports
- gosec
@ -73,6 +73,7 @@ linters-settings:
- G306
- G402
- G404
- G115
nolintlint:
allow-unused: true