Repository navigation
build: bump Go to 1.27.2, update dependencies and pin go-test-coverage - #18
Merged
Merged
Conversation
- golang.org/x/sync v0.23.0 => v0.24.0 - golang.org/x/sys v0.47.0 => v0.49.0 (indirect) - Pin go-test-coverage to v2.19.0 in CI: v2.20.0 (resolved by @latest) requires go >= 1.27, while CI runs go 1.26.0 from go.mod with GOTOOLCHAIN=local, which broke the "test coverage" step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- go.mod: go 1.26.0 => 1.27.2 (CI picks it up via go-version-file) - README: update Go version badge and requirements to 1.27+ - Bump pinned go-test-coverage to v2.20.0, now compatible with the Go 1.27 toolchain Co-Authored-By: Claude Opus 5.5 <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
go.mod. CI reads the version fromgo-version-file. The README badge and requirements now say Go 1.27+.golang.org/x/syncv0.23.0 → v0.24.0golang.org/x/sysv0.47.0 → v0.49.0 (indirect)go-test-coveragetov2.20.0inpr.yamlandrelease.yml. It was@latest.Why the CI pin
The test coverage step was failing (see #17). The cause was not low coverage.
@lateststarted resolving to v2.20.0, which requires Go ≥ 1.27, while CI was running Go 1.26.0 withGOTOOLCHAIN=local:The Go 1.27.2 bump fixes that. The tool stays pinned so a future release can't break CI the same way. On the last green run, coverage was 85.1%, above the 75% threshold.
This PR replaces #17, which can be closed.
Testing
go build ./...,go vet ./...andgo test -race ./...(unit tests) pass locally on Go 1.27.2.🤖 Generated with Claude Code