From 2bd89ced830f97fd12a672fddb6978d204a014fd Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 5 Mar 2026 20:29:13 +0200 Subject: build(mage): forward GOTOOLCHAIN in integration test paths --- Magefile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Magefile.go') 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 { -- cgit v1.2.3