vitessio / vitess

Vitess is a database clustering system for horizontal scaling of MySQL.
http://vitess.io
Apache License 2.0
18.67k stars 2.1k forks source link

Feature Request: use `go-version-file:` for go version in CI #16842

Closed timvaillancourt closed 1 month ago

timvaillancourt commented 1 month ago

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 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

Use Case(s)

Maintainers of the Vitess repo or forks