Constrain Renovate to Go 1.24#2314
Conversation
Renovate keeps suggesting dependency updates which bump our pinned Go version. This should constrain it to the 1.24 toolchain. This constraint needs to be set to match the Go version in our top level go.mod
jamietanna
left a comment
There was a problem hiding this comment.
We'll probably also want to make sure that GOTOOLCHAIN=local via env, otherwise we'll automagically pull the new toolchain on updates - we'd probably prefer a PR to fail its creation if it's trying to use a newer version?
We already have the toolchain pinned in go.mod, and I think this might cause problems, because the local toolchain, just hypothetically, might be 1.24.3 and this will cause a failure. |
|
Discussing in renovatebot/renovate#42459 |
The failure (IMO) would be preferable, as it'd make sure that it wasn't updating the (That being said, I think Renovate still raises a PR if branch creation fails) |
Renovate keeps suggesting dependency updates which bump our pinned Go version. This should constrain it to the 1.24 toolchain. This constraint needs to be set to match the Go version in our top level go.mod