summaryrefslogtreecommitdiffstats
path: root/magefile.go
diff options
context:
space:
mode:
authorabdullah-alaadine <125296663+abdullah-alaadine@users.noreply.github.com>2023-10-04 11:28:10 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-10-04 16:07:40 +0200
commit37a2d5eb4e99b102ba39616917a4c76cb8a142a7 (patch)
treedb2e0bb2c95c893f44f8f79626f4100ab69a9f10 /magefile.go
parent4c95389c25af48190be82de110ae830df7077eeb (diff)
magefile: Update isGoLatest to check for Go 1.21
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go2
1 files changed, 1 insertions, 1 deletions
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 {