chore: upgrade Go to 1.27.1 - #140
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades the project from Go 1.27.0 to Go 1.27.1.
go.mod,cmd/dockerflagsgen/go.mod:go 1.27.0→go 1.27.1Dockerfile: builder imagegolang:1.27.0-trixie→golang:1.27.1-trixie, with the digest re-pinned to the1.27.1-trixietag (sha256:137ca844…) as required by the repository's pinning conventionEvery GitHub Actions job resolves its toolchain through
actions/setup-gowithgo-version-file: go.mod, so CI picks up 1.27.1 without any workflow change..devcontainer/devcontainer.jsonpins the minor-version tag1.27-trixie, which is unaffected by a patch bump; Renovate keeps its digest current.go mod tidyin both modules produced no changes beyond thegodirective, sogo.sumis untouched.Verification
Run locally against the go1.27.1 toolchain:
go build ./...— succeedsmake test— all packages passmake dockerflags-test— passesmake coverage— 95.3% of statements, unchanged from the previous toolchainmake lint— 0 issuesmake docs-content/make dockerflags— no diff in the generated filesmake build+ dogfooding run — 0 errors, 0 warningsNote on
make lint: it must be run with the go1.27.1 toolchain selected.go run …/golangci-lint@v2.13.0resolves its own toolchain from golangci-lint'sgo.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