Skip to content

Commit c60857c

Browse files
committed
ci: revert e2e Go pin to stable now that chainsaw/kuttl support Go 1.26
The e2e-k3d-chainsaw and e2e-k3d-kuttl jobs were pinned to Go 1.25.x with a TODO noting that chainsaw/kuttl were missing the new testDeps.ModulePath introduced by Go 1.26. Both projects have since shipped releases that require go >= 1.26.0: * github.com/kudobuilder/kuttl v0.26.0 -> go 1.26.0 * github.com/kyverno/chainsaw (main) -> go 1.26.0 actions/setup-go@v6 sets GOTOOLCHAIN=local when an explicit version is requested, so the pinned 1.25.x runner cannot auto-upgrade to satisfy those modules and the e2e jobs fail with: go: github.com/kudobuilder/kuttl/cmd/kubectl-kuttl@latest: github.com/kudobuilder/kuttl@v0.26.0 requires go >= 1.26.0 (running go 1.25.9; GOTOOLCHAIN=local) Switch both e2e jobs to 'go-version: stable', matching every other Go job in the same workflow (go-test, kubernetes-api, kubernetes-k3d, coverage-report). This unblocks the e2e checks that have been red on main since the Go 1.26 bump landed in CrunchyData#4479.
1 parent 4a9c156 commit c60857c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
steps:
9292
- uses: actions/checkout@v6
9393
- uses: actions/setup-go@v6
94-
with: { go-version: '1.25.x' } # TODO: revert to stable when chainsaw supports Go 1.26 (missing testDeps.ModulePath)
94+
with: { go-version: stable }
9595

9696
- name: Start k3s
9797
uses: ./.github/actions/k3d
@@ -142,7 +142,7 @@ jobs:
142142
steps:
143143
- uses: actions/checkout@v6
144144
- uses: actions/setup-go@v6
145-
with: { go-version: '1.25.x' } # TODO: revert to stable when kuttl supports Go 1.26 (missing testDeps.ModulePath)
145+
with: { go-version: stable }
146146

147147
- name: Start k3s
148148
uses: ./.github/actions/k3d

0 commit comments

Comments
 (0)