Skip to content

Commit

Permalink
magefile: Update isGoLatest to check for Go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
knbr13 authored and bep committed Oct 4, 2023
1 parent 4c95389 commit 37a2d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 37a2d5e

Please sign in to comment.