From 37a2d5eb4e99b102ba39616917a4c76cb8a142a7 Mon Sep 17 00:00:00 2001 From: abdullah-alaadine <125296663+abdullah-alaadine@users.noreply.github.com> Date: Wed, 4 Oct 2023 11:28:10 +0300 Subject: [PATCH] magefile: Update isGoLatest to check for Go 1.21 --- magefile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magefile.go b/magefile.go index 2fc2c7f75..c8542dad7 100644 --- a/magefile.go +++ b/magefile.go @@ -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 {