Skip to content

ci: pin go-version to 1.23 matching go.mod#34

Merged
prodnull merged 1 commit into
mainfrom
fix/go-version-toolchain
May 4, 2026
Merged

ci: pin go-version to 1.23 matching go.mod#34
prodnull merged 1 commit into
mainfrom
fix/go-version-toolchain

Conversation

@prodnull
Copy link
Copy Markdown
Owner

@prodnull prodnull commented May 4, 2026

Problem

`dpop-cross-language-tests/go-test/go.mod` declares `go 1.23` but `ci.yml` pins `go-version: '1.21'` for the DPoP Cross-Language Interop test. Under `actions/setup-go@v5` this silently worked: v5 lazily downloaded the matching toolchain at build time. `actions/setup-go@v6` tightens toolchain handling and refuses the mismatch, so the test now fails with "Failed to build Go test" (the script swallows the actual go build error via `2>/dev/null`).

Fix

Pin `go-version: '1.23'` to match `go.mod`. One-line change.

Why this matters now

PR #30 (the `actions-all` group bump) raises setup-go to v6, which is what surfaces the latent inconsistency. Landing this fix first lets dependabot rebase #30 cleanly.

Test plan

dpop-cross-language-tests/go-test/go.mod already declares `go 1.23`,
but ci.yml's setup-go step pinned go-version: '1.21'. Under setup-go
v5 this worked because v5 lazily downloaded the matching toolchain at
build time. setup-go v6 tightens toolchain handling and refuses to
silently bridge the mismatch.

Bumping the pin to '1.23' aligns the workflow with the module
directive and unblocks the actions-all dep group bump (PR #30) that
otherwise breaks the DPoP Cross-Language Interop test.

Signed-off-by: unix-oidc Developers <prodnull@users.noreply.github.com>
@prodnull prodnull merged commit f5a1e0e into main May 4, 2026
36 checks passed
@prodnull prodnull deleted the fix/go-version-toolchain branch May 4, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant