Skip to content

[yumin-xia] ci(release): build with the tag's exact go.mod Go version - #23

Merged
Stumble merged 1 commit into
mainfrom
yumin-xia/release-go-version
Nov 4, 2026
Merged

Stumble merged 1 commit into
mainfrom
yumin-xia/release-go-version

Conversation

@Stumble

@Stumble Stumble commented Nov 4, 2026

Copy link
Copy Markdown
Owner

The v2.4.1 release run (41798907555) failed on `macos-15-intel`: `GO_VERSION: "1.26"` made setup-go pick a cached Go 1.26.7, and go.mod (`go 1.26.10`) refused it (`GOTOOLCHAIN=local`). Fail-fast cancelled the other builds; nothing was uploaded.

The Version step now reads the `go` directive from the tag's go.mod and uses it for both the Alpine image (`golang:1.26.10-alpine`) and setup-go.

After merging: `gh workflow run release.yml -R Stumble/sqlc -f tag=v2.4.1` attaches the binaries to the existing v2.4.1 release.

🤖 Generated with Claude Code

The v2.4.1 release run failed on macos-15-intel: GO_VERSION "1.26" resolved
to a cached Go 1.26.7, which go.mod (go 1.26.10) refuses. Read the version
from the tag's go.mod for both the Alpine image and setup-go.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Stumble
Stumble merged commit e0d9cae into main Nov 4, 2026
13 checks passed
@Stumble
Stumble deleted the yumin-xia/release-go-version branch November 4, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant