Skip to content

Remove patch from go.mod go version#2619

Merged
pkwarren merged 1 commit into
mainfrom
pkw/go-version
Jul 21, 2026
Merged

Remove patch from go.mod go version#2619
pkwarren merged 1 commit into
mainfrom
pkw/go-version

Conversation

@pkwarren

@pkwarren pkwarren commented Jul 21, 2026

Copy link
Copy Markdown
Member

The actions/setup-go GHA will not use the latest security/bugfix version of Go if the patch version is zero (even with use-latest-version). To work around this for now, remove the patch version from go.mod which should allow it to run with later versions.

The actions/setup-go GHA will not use the latest security/bugfix version
of Go if the patch version is present (even with `use-latest-version`).
To work around this for now, remove the patch version from go.mod which
should allow it to run with later versions.
@pkwarren
pkwarren requested review from emcfarlane and mfridman July 21, 2026 21:59
@pkwarren

Copy link
Copy Markdown
Member Author

Before:

Attempting to resolve the latest version from the manifest...
matching 1.26.0...
Resolved as '1.26.0'

After:

Attempting to resolve the latest version from the manifest...
matching 1.26...
Resolved as '1.26.5'

@pkwarren
pkwarren merged commit 80effc4 into main Jul 21, 2026
5 checks passed
@pkwarren
pkwarren deleted the pkw/go-version branch July 21, 2026 22:23
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.

2 participants