ci: bump the Go toolchain pin to 1.26.8 (go.mod + the two workflow image digests) #473

Closed
opened 2026-09-09 21:53:46 +00:00 by hexajon · 0 comments
Owner

scripts/check-go-version.sh fails locally: the installed toolchain is go1.26.8 and go.mod declares go 1.26.6. CI is green only because its digest-pinned golang:1.26-trixie image still bundles 1.26.6.

Per docs/contributing/ci.md ("Bumping the Go patch release") the three places move together in one commit:

  1. the image: digest for docker.io/golang:1.26-trixie in .forgejo/workflows/ci.yml (two jobs) and .forgejo/workflows/drift.yml (two jobs), plus the docker.io/golang:1.26 digest in drift.yml;
  2. the go directive in go.mod;
  3. the running toolchain (GOTOOLCHAIN: local), which the new image provides.

Never downgrade the host to 1.26.6 to make the check pass. No architecture decision is touched; this is the routine patch-release bump the CI doc describes.

Acceptance

  • go.mod declares go 1.26.8.
  • Every pinned golang image digest in the two workflows resolves to an image whose GOLANG_VERSION is 1.26.8.
  • ./scripts/gate.sh passes locally on a 1.26.8 host and in CI.
  • go mod tidy -diff is empty.
`scripts/check-go-version.sh` fails locally: the installed toolchain is go1.26.8 and `go.mod` declares `go 1.26.6`. CI is green only because its digest-pinned `golang:1.26-trixie` image still bundles 1.26.6. Per `docs/contributing/ci.md` ("Bumping the Go patch release") the three places move together in one commit: 1. the `image:` digest for `docker.io/golang:1.26-trixie` in `.forgejo/workflows/ci.yml` (two jobs) and `.forgejo/workflows/drift.yml` (two jobs), plus the `docker.io/golang:1.26` digest in drift.yml; 2. the `go` directive in `go.mod`; 3. the running toolchain (`GOTOOLCHAIN: local`), which the new image provides. Never downgrade the host to 1.26.6 to make the check pass. No architecture decision is touched; this is the routine patch-release bump the CI doc describes. ## Acceptance - `go.mod` declares `go 1.26.8`. - Every pinned golang image digest in the two workflows resolves to an image whose `GOLANG_VERSION` is 1.26.8. - `./scripts/gate.sh` passes locally on a 1.26.8 host and in CI. - `go mod tidy -diff` is empty.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sixfold-space/madtea#473
No description provided.