From e8b6463c3c39853cd3764d553a9b9ae6acb57efa Mon Sep 17 00:00:00 2001 From: ethan Date: Sat, 7 Mar 2026 01:04:51 +1100 Subject: [PATCH] fix: use go-version-file in release workflow The release workflow hardcoded go-version: "1.25.6", but go.mod was bumped to 1.25.7 in #316, causing the release to fail with: go: go.mod requires go >= 1.25.7 (running go 1.25.6; GOTOOLCHAIN=local) Switch to go-version-file: "go.mod" to match test.yml, so the version is always read from go.mod and can't drift. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 298e4dc..127bda4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version: "1.25.6" + go-version-file: "go.mod" - name: Import GPG Key id: import_gpg uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0