summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-05 20:29:13 +0200
committerPaul Buetow <paul@buetow.org>2026-03-05 20:29:13 +0200
commit2bd89ced830f97fd12a672fddb6978d204a014fd (patch)
treea80974a8020df06dc6946f31ae334bcdc7a6662f
parentad9747939b3689f395cf7bffeb3ed2b17efb8a41 (diff)
build(mage): forward GOTOOLCHAIN in integration test paths
-rw-r--r--Magefile.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/Magefile.go b/Magefile.go
index 42981f5..874cce4 100644
--- a/Magefile.go
+++ b/Magefile.go
@@ -109,7 +109,7 @@ func TestWithName() error {
}
fmt.Println("Running integration test", testName, "(requires root)...")
env := goEnv()
- forwardEnv(env, "HOME", "GOPATH", "GOMODCACHE", "PATH")
+ forwardEnv(env, "HOME", "GOPATH", "GOMODCACHE", "PATH", "GOTOOLCHAIN")
return runGoTestWithProgress(env,
"./integrationtests/...",
"-run", "^"+testName+"$",
@@ -354,7 +354,7 @@ func runIntegrationTests(parallel bool) error {
}
env := goEnv()
- forwardEnv(env, "HOME", "GOPATH", "GOMODCACHE")
+ forwardEnv(env, "HOME", "GOPATH", "GOMODCACHE", "GOTOOLCHAIN")
timeout := "30m"
if !parallel {