Skip to content

chore: bump go directive to 1.26#11

Merged
christiangda merged 1 commit into
mainfrom
chore/bump-go-1.26
Jul 11, 2026
Merged

chore: bump go directive to 1.26#11
christiangda merged 1 commit into
mainfrom
chore/bump-go-1.26

Conversation

@christiangda

Copy link
Copy Markdown
Contributor

Problem

CI fails installing the go-test-coverage tool (run):

go install github.com/vladopajic/go-test-coverage/v2@latest
go: github.com/vladopajic/go-test-coverage/v2@v2.18.8 requires go >= 1.26 (running go 1.25.2; GOTOOLCHAIN=local)
Error: Process completed with exit code 1.

actions/setup-go is configured with go-version-file: ./go.mod, so the provisioned toolchain follows the module's go directive. With the module pinned to go 1.25.2, go-test-coverage v2.18.8 (which now requires Go ≥ 1.26) refuses to install.

Fix

Bump the go directive in go.mod from 1.25.2 to 1.26.0, and update the README's stated minimum to match.

Verification

go mod verify   # all modules verified
go build ./...  # ok
go vet ./...    # ok
go test ./...   # ok

No source or public API changes — only the minimum Go version.

🤖 Generated with Claude Code

CI installs github.com/vladopajic/go-test-coverage/v2@latest for coverage
checks, and setup-go derives the toolchain from go-version-file: ./go.mod.
go-test-coverage v2.18.8 now requires Go >= 1.26, so with the module pinned to
go 1.25.2 the install fails:

    go install github.com/vladopajic/go-test-coverage/v2@latest
    ... requires go >= 1.26 (running go 1.25.2; GOTOOLCHAIN=local)

Bump the go directive to 1.26.0 so CI provisions a compatible toolchain, and
update the README's stated minimum to match. Build, vet, and tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@christiangda christiangda self-assigned this Jul 11, 2026
@christiangda
christiangda merged commit 5602e43 into main Jul 11, 2026
4 checks passed
@christiangda
christiangda deleted the chore/bump-go-1.26 branch July 11, 2026 13:33
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.

1 participant