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 ingo.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 ourgo.mod
file. We can't rely on the default behavior of thesetup-go
action because it always downloads the exact version ingo.mod
when a patch version is specified.