From 519a9791071eff1d2fc93c5b46c638cc3c2362c5 Mon Sep 17 00:00:00 2001 From: Jay <4602056+jay23606@users.noreply.github.com> Date: Sun, 11 Oct 2026 12:33:41 -0400 Subject: [PATCH] ci: update golangci-lint to v2.14 (#22111) Co-authored-by: Michael Eischer --- .github/workflows/tests.yml | 2 +- internal/repository/index/indexmap_test.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f94e78110..ecbab3372 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -271,7 +271,7 @@ jobs: uses: golangci/golangci-lint-action@v9 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v2.13 + version: v2.14 args: --verbose --timeout 5m # only run golangci-lint for pull requests, otherwise ALL hints get diff --git a/internal/repository/index/indexmap_test.go b/internal/repository/index/indexmap_test.go index 50c1f9557..ef57fd065 100644 --- a/internal/repository/index/indexmap_test.go +++ b/internal/repository/index/indexmap_test.go @@ -37,7 +37,6 @@ func TestIndexMapForeach(t *testing.T) { var m indexMap // Don't crash on empty map. - //nolint:revive // ignore empty iteration for range m.values() { // empty iteration }