Use go-version-file: go.mod to find the go version in .github/workflows, when the go version is equal to what is in go.mod
TL;DR: go-version-file: go.mod uses go line from go.mod to get a go version. We already have CI scripts ensuring that version is consistent with go.mod, so there should be little risk to this change
This will make it a bit easier to maintain the repo, and for the fork I maintain, it will make it easier to merge patch releases onto our in-house release - the main conflicts are go-version: updates
Feature Description
Use
go-version-file: go.mod
to find the go version in.github/workflows
, when the go version is equal to what is ingo.mod
TL;DR:
go-version-file: go.mod
usesgo
line fromgo.mod
to get a go version. We already have CI scripts ensuring that version is consistent withgo.mod
, so there should be little risk to this changeThis will make it a bit easier to maintain the repo, and for the fork I maintain, it will make it easier to merge patch releases onto our in-house release - the main conflicts are
go-version:
updatesUse Case(s)
Maintainers of the Vitess repo or forks