magefile: Update isGoLatest to check for Go 1.21

This commit is contained in:
abdullah-alaadine 2023-10-04 11:28:10 +03:00 committed by Bjørn Erik Pedersen
parent 4c95389c25
commit 37a2d5eb4e

View file

@ -329,7 +329,7 @@ func runCmd(env map[string]string, cmd string, args ...any) error {
}
func isGoLatest() bool {
return strings.Contains(runtime.Version(), "1.14")
return strings.Contains(runtime.Version(), "1.21")
}
func isCI() bool {