From 5942b3fcbacf02e3aeafd0cc1070ee1888aadd31 Mon Sep 17 00:00:00 2001 From: Derek McGowan Date: Thu, 19 Dec 2024 22:16:28 -0800 Subject: [PATCH] Update golangci to 1.60.3 Signed-off-by: Derek McGowan --- .github/workflows/ci.yml | 2 +- .golangci.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27bbcba9b..8dd706658 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.golangci.yml b/.golangci.yml index 5ad1b0302..450a634f8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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