Skip to content

Conversation

tianon
Copy link
Member

@tianon tianon commented Dec 12, 2024

actions/setup-go supports "stable" and "oldstable" as automatic aliases for the latest release and the previous to latest release, which was our intent with two of these three hard-coded versions. The third is hard-coded to match our go.mod, which actions/setup-go also supports reading from, so we can be completely DRY here.

See #1225 (comment)

`actions/setup-go` supports "stable" and "oldstable" as automatic aliases for the latest release and the previous to latest release, which was our intent with two of these three hard-coded versions.  The third is hard-coded to match our `go.mod`, which `actions/setup-go` *also* supports reading from, so we can be completely DRY here.

Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
@tianon
Copy link
Member Author

tianon commented Dec 12, 2024

Copy link
Contributor

@rchincha rchincha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

👍

@tianon tianon merged commit e0462ab into opencontainers:main Jan 9, 2025
4 checks passed
@tianon tianon deleted the setup-go branch January 9, 2025 18:32
@sudo-bmitch sudo-bmitch mentioned this pull request Feb 24, 2025
6 tasks
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.

4 participants