Skip to content

chore: Pin the Go 1.27 toolchain in go.mod - #55

Merged
ecv merged 1 commit into
mainfrom
chore/go-1.27-toolchain-line
Nov 3, 2026
Merged

ecv merged 1 commit into
mainfrom
chore/go-1.27-toolchain-line

Conversation

@ecv

@ecv ecv commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Summary

The required CI check (ci-basic) installs Go from go.mod. go.mod has no toolchain line, so that check still builds and tests on Go 1.26, while the image and the other workflows moved to 1.27 in #49.

  • Add toolchain go1.27.3 to go.mod, which actions/setup-go uses over the go line.
  • The go line stays at 1.26, because other repositories import this module.

Finishes step 1 of https://github.com/datum-cloud/infra/issues/8340 for this repository.

Test plan

  • The ci / Build and test job's Setup Go step installs 1.27.3
  • Build, tests and lint pass

Related to datum-cloud/infra#8340

The required CI check installs Go from go.mod, which names no toolchain,
so it still builds and tests on 1.26. The image and the older workflows
already moved to 1.27.

Key features/changes:
- Add toolchain go1.27.3, which actions/setup-go uses over the go line
- Leave the go line at 1.26: other repositories import this module
@ecv
ecv marked this pull request as ready for review November 3, 2026 18:40
@ecv
ecv requested a review from kevwilliams November 3, 2026 18:40
@ecv
ecv enabled auto-merge November 3, 2026 18:40

@kevwilliams kevwilliams left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the go.mod change is limited to the toolchain pin and the go directive, with no dependency changes.

@ecv
ecv merged commit 6d1ac77 into main Nov 3, 2026
10 checks passed
@ecv
ecv deleted the chore/go-1.27-toolchain-line branch November 3, 2026 19:41
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.

2 participants