From ae55050898004fbeb8e74fa2f320be9a0884eb2f Mon Sep 17 00:00:00 2001 From: Robin Hahling Date: Tue, 10 Sep 2024 10:40:39 +0200 Subject: [PATCH] ci: update golangci-lint to v1.61.0 While here, remove now deprecated exportloopref linter which is no longer relevant with Go v1.22+. Signed-off-by: Robin Hahling --- .github/workflows/pr-check.yaml | 2 +- .golangci.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml index b371df6..8fc9b39 100644 --- a/.github/workflows/pr-check.yaml +++ b/.github/workflows/pr-check.yaml @@ -87,7 +87,7 @@ jobs: - name: Run golangci lint uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 with: - version: v1.58.1 + version: v1.61.0 # use our .golangci.yml and configure output to be logged in the GHA, # in addition to annotating the commit. see # https://github.com/golangci/golangci-lint-action/issues/119#issuecomment-981090648 diff --git a/.golangci.yml b/.golangci.yml index 718e77b..c2a861e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -24,7 +24,6 @@ linters: - errname - errorlint - exhaustive - - exportloopref - forcetypeassert - gocheckcompilerdirectives - gocognit