Skip to content

test and build against both supported Go lines - #85

Merged
xobotyi merged 1 commit into
mainfrom
ci-go-matrix
Jul 15, 2026
Merged

test and build against both supported Go lines#85
xobotyi merged 1 commit into
mainfrom
ci-go-matrix

Conversation

@xobotyi

@xobotyi xobotyi commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #84:

  • test matrix gains a Go axis: 3 OSes x {1.25, 1.26}. The floor proves go install works on the oldest supported toolchain; the newest matches what releases ship with.
  • release-dry-run runs the same two-line matrix, so both build paths are proven per toolchain.
  • The publishing build in release.yml pins 1.26 explicitly: with the directive lowered, go-version-file would have silently downgraded official binaries to the floor toolchain.
  • ci-ok needs no changes; it gates on the job, which covers every matrix leg.

v1.1.3 (shipping the relaxed directive to go install users) follows on merge.

The go directive is the compatibility floor, not the toolchain to
validate or ship with. Tests and the goreleaser dry run now run a
matrix over 1.25 and 1.26: the floor proves go install works for the
oldest supported toolchain, the newest is what releases build with.

The publishing build pins 1.26 explicitly -- with the directive
lowered, go-version-file would have silently downgraded official
binaries to the floor toolchain. Lint stays on the floor, where
typechecking is strictest for the module's declared language version.
@xobotyi
xobotyi merged commit b16673b into main Jul 15, 2026
10 checks passed
@xobotyi
xobotyi deleted the ci-go-matrix branch July 15, 2026 13:18
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