Skip to content

Commit

Permalink
Merge pull request #297 from BenTheElder/e2e-auto
Browse files Browse the repository at this point in the history
use auto go version when installing latest crane for e2e test
  • Loading branch information
k8s-ci-robot authored Jan 25, 2025
2 parents 4afd518 + 40c6533 commit 70d98c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/archeio/internal/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func TestMain(m *testing.M) {
// installs tool to binDir using go install
func goInstall(t *testing.T, tool string) {
buildCmd := exec.Command("go", "install", tool)
buildCmd.Env = append(os.Environ(), "GOBIN="+binDir)
buildCmd.Env = append(os.Environ(), "GOBIN="+binDir, "GOTOOLCHAIN=auto")
if out, err := buildCmd.CombinedOutput(); err != nil {
t.Errorf("Failed to get %q: %v", tool, err)
t.Error("Output:")
Expand Down

0 comments on commit 70d98c7

Please sign in to comment.