Visitar URL original
GitHub Actions: use actions/setup-go v6.4.0 [v1.11 backport] by apparentlymart · Pull Request #4006 · opentofu/opentofu · GitHub
Skip to content

GitHub Actions: use actions/setup-go v6.4.0 [v1.11 backport] - #4006

Merged
apparentlymart merged 1 commit into
v1.11from
actions-setup-go-v6.4.0-tofu1.11
Apr 7, 2026
Merged

apparentlymart merged 1 commit into
v1.11from
actions-setup-go-v6.4.0-tofu1.11

Conversation

@apparentlymart

Copy link
Copy Markdown
Contributor

The version we were previously using has an incorrect hard-coded URL template for downloading Go versions that are not yet in the action's own manifest file, which means that it can't successfully install any Go version that hasn't been added to the manifest yet.

This new version is updated to use an endpoint on https://go.dev/ that is set up to redirect to whatever the correct location is, which was recommended by a member of the Go team in actions/setup-go#665 and so is presumably intended to remain valid.

This is a backport of #4005 to the v1.11 branch, since that series is still under security support so we may need to be able to quickly adopt new Go releases when security advisories are announced.

The version we were previously using has an incorrect hard-coded URL
template for downloading Go versions that are not yet in the action's own
manifest file, which means that it can't successfully install any Go
version that hasn't been added to the manifest yet.

This new version is updated to use an endpoint on https://go.dev/ that is
set up to redirect to whatever the correct location is, which was
recommended by a member of the Go team in actions/setup-go#665 and so is
presumably intended to remain valid.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
@apparentlymart apparentlymart self-assigned this Apr 7, 2026
@apparentlymart
apparentlymart requested a review from a team as a code owner April 7, 2026 20:46
@apparentlymart apparentlymart added the dependencies Pull requests that update a dependency file label Apr 7, 2026
@opentofu opentofu deleted a comment from github-actions Bot Apr 7, 2026
@apparentlymart apparentlymart added this to the 1.11.6 milestone Apr 7, 2026
@apparentlymart
apparentlymart merged commit 85ede0f into v1.11 Apr 7, 2026
18 checks passed
@apparentlymart
apparentlymart deleted the actions-setup-go-v6.4.0-tofu1.11 branch April 7, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants