From 5f92200eb209225fc38cc698a1fc67a315f4e96b Mon Sep 17 00:00:00 2001 From: mayankpande88 Date: Fri, 25 Sep 2026 14:24:46 +0530 Subject: [PATCH] ci(release): golangci-lint v2.13.2 to match ci.yml The go directive moved to 1.26 in #158/#157, but release.yml still pinned golangci-lint v2.7.2, which is built with go1.25 and refuses to load the module, so the Release workflow fails on main. --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e414ee6..7367919 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,8 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 with: + # Keep in sync with release.yml. Must be built with a Go at least as + # new as go.mod's go directive, or it refuses to load the module. version: v2.13.2 args: --timeout 10m diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24eb154..14dfc91 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,9 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 with: - version: v2.7.2 + # Keep in sync with ci.yml. Must be built with a Go at least as + # new as go.mod's go directive, or it refuses to load the module. + version: v2.13.2 args: --timeout 10m - name: Test