Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Actions Go version from go.mod #306

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Set Actions Go version from go.mod #306

merged 1 commit into from
Sep 26, 2024

Conversation

bluekeyes
Copy link
Member

The .palantir/go-version file is no longer supported, so always build with the latest patch release of the version specified in go.mod. This mostly matches the behavior we're adopting internally, with the main difference being that we'll never build with a newer major version of Go than what is specified in our go.mod file. We can't rely on the default behavior of the setup-go action because it always downloads the exact version in go.mod when a patch version is specified.

The `.palantir/go-version` file is no longer supported, so always build
with the latest patch release of the version specified in `go.mod.` This
mostly matches the behavior we're adopting internally, with the main
difference being that we'll never build with a newer major version of Go
than what is specified in our `go.mod` file. We can't rely on the
default behavior of the `setup-go` action because it always downloads
the exact version in `go.mod` when a patch version is specified.
@bluekeyes bluekeyes requested a review from a team September 26, 2024 00:11
@bluekeyes bluekeyes merged commit bad08b4 into develop Sep 26, 2024
5 checks passed
@bluekeyes bluekeyes deleted the bkeyes/go-version branch September 26, 2024 15:36
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