From cf018a2a2292ee18df7e34306568db5f7fcf8de8 Mon Sep 17 00:00:00 2001 From: Felix Geelhaar Date: Fri, 10 Jul 2026 22:29:30 +0200 Subject: [PATCH] fix(release): let Install nox fetch its required Go toolchain The release job installs nox/cli@v0.8.1, which requires a newer Go than go.mod pins, so `go install` failed under the runner's GOTOOLCHAIN=local. Set GOTOOLCHAIN=auto for that step so the toolchain is fetched on demand. Fixes the v1.12.0 release run (SBOM step never reached). Claude-Session: https://claude.ai/code/session_01LCyhyAffdzBmzG3yPPqzTT --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3525dbe..f9569e8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,11 @@ jobs: run: go test -race ./... - name: Install nox + # nox/cli@v0.8.1 requires a newer Go toolchain than go.mod pins; allow + # `go install` to fetch the matching toolchain instead of failing under + # GOTOOLCHAIN=local. + env: + GOTOOLCHAIN: auto run: | go install github.com/nox-hq/nox/cli@v0.8.1 mv "$(go env GOPATH)/bin/cli" "$(go env GOPATH)/bin/nox"