Go: run with minimum version, not maximum #25036
Labels
manager:gomod
Go Modules
priority-1-critical
A bad bug or work that is holding up a lot of other important features or fixes
type:feature
Feature (new functionality)
Describe the proposed change(s).
Due to a change in Go behavior (see golang/go#62409), Go 1.21 now "upgrades" the Go directive in
go.mod
if we rungo x
commands with a newer Go version than is already there.We should instead try to use the exact version of Go to stop this "accidental" upgrading.
Example commit from reproduction: renovate-reproductions/24994@
5ee6ce9
(#1)The text was updated successfully, but these errors were encountered: