Skip to content

chore: upgrade Go to 1.27.1 - #140

Merged
nozaq merged 1 commit into
mainfrom
claude/go-1-27-1-upgrade-7g25qz
Sep 2, 2026
Merged

chore: upgrade Go to 1.27.1#140
nozaq merged 1 commit into
mainfrom
claude/go-1-27-1-upgrade-7g25qz

Conversation

@nozaq

@nozaq nozaq commented Sep 2, 2026

Copy link
Copy Markdown
Member

Summary

Upgrades the project from Go 1.27.0 to Go 1.27.1.

  • go.mod, cmd/dockerflagsgen/go.mod: go 1.27.0go 1.27.1
  • Dockerfile: builder image golang:1.27.0-trixiegolang:1.27.1-trixie, with the digest re-pinned to the 1.27.1-trixie tag (sha256:137ca844…) as required by the repository's pinning convention

Every GitHub Actions job resolves its toolchain through actions/setup-go with go-version-file: go.mod, so CI picks up 1.27.1 without any workflow change. .devcontainer/devcontainer.json pins the minor-version tag 1.27-trixie, which is unaffected by a patch bump; Renovate keeps its digest current.

go mod tidy in both modules produced no changes beyond the go directive, so go.sum is untouched.

Verification

Run locally against the go1.27.1 toolchain:

  • go build ./... — succeeds
  • make test — all packages pass
  • make dockerflags-test — passes
  • make coverage — 95.3% of statements, unchanged from the previous toolchain
  • make lint — 0 issues
  • make docs-content / make dockerflags — no diff in the generated files
  • make build + dogfooding run — 0 errors, 0 warnings

Note on make lint: it must be run with the go1.27.1 toolchain selected. go run …/golangci-lint@v2.13.0 resolves its own toolchain from golangci-lint's go.mod, so on a machine whose default toolchain is older, golangci-lint is built with Go 1.26 and refuses to analyse a module targeting 1.27.1. CI installs the go.mod version first, so the lint job is unaffected.


Generated by Claude Code

Bump the go directive in both modules and the golang builder image in the
Dockerfile from 1.27.0 to 1.27.1. The CI workflows read the version from
go.mod, so they follow automatically.

Co-Authored-By: Claude <noreply@anthropic.com>
@nozaq
nozaq marked this pull request as ready for review September 2, 2026 12:59
@nozaq
nozaq merged commit 2338e05 into main Sep 2, 2026
11 checks passed
@nozaq
nozaq deleted the claude/go-1-27-1-upgrade-7g25qz branch September 2, 2026 13:04
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