Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/build-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ jobs:

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: '1.23'
# This job runs the e2e module (go 1.24); install the Go it declares
# so `go test` doesn't hard-fail under GOTOOLCHAIN=local with
# "go.mod requires go >= 1.24.0". The root build job above stays on
# the root go.mod's 1.23.
go-version-file: e2e/go.mod
cache: true
cache-dependency-path: e2e/go.sum

- name: Run E2E tests
working-directory: e2e
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,14 @@ jobs:

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: '1.23'
# The e2e module declares its own toolchain (go 1.24). Drive the
# installed Go straight from e2e/go.mod so the runner always matches
# the module requirement. Pinning a literal version here drifts: when
# it lags the module's `go` directive, `go test` fails immediately
# under GOTOOLCHAIN=local with "go.mod requires go >= 1.24.0".
go-version-file: e2e/go.mod
cache: true
cache-dependency-path: e2e/go.sum

- name: Show runner resources
run: |
Expand Down
Loading