Skip to content

chore(ci): bump Go toolchain to 1.26 - #118

Merged
brentrager merged 1 commit into
mainfrom
chore/go-1.26
Aug 25, 2026
Merged

chore(ci): bump Go toolchain to 1.26#118
brentrager merged 1 commit into
mainfrom
chore/go-1.26

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

Problem

The Go toolchain was still pinned to 1.23.

Solution

One line in mise.toml: go = "1.23"go = "1.26". Since the mise migration the toolchain version lives only there — CI uses jdx/mise-action@v4, and no workflow references a Go version.

Deliberately not touching the go directive in go/fetch/go.mod (still go 1.23.0). That declares the minimum language version for consumers of the published module; raising it would break anyone on an older toolchain.

Verification

Local, through mise on Go 1.26:

$ go version
go version go1.26.7 darwin/arm64
$ go build ./...        # OK
$ go vet ./...          # OK
$ go test ./...
ok  	github.com/SmooAI/fetch/go/fetch/v3	3.124s
$ gofmt -l .            # (no output)

No Go 1.26 incompatibilities found. pnpm format (oxfmt, which also formats .toml) leaves the diff unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_013YaefW6U442PHZf94fMAer

The toolchain version lives only in mise.toml since the mise migration,
so this is a one-line change. Deliberately NOT touching the `go`
directive in go.mod — that declares the minimum language version for
consumers of the published module, and raising it would break them.

Verified: go build/vet/test and gofmt all pass on 1.26.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Aug 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7bca9bd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@brentrager
brentrager merged commit e149b98 into main Aug 25, 2026
6 checks passed
@brentrager
brentrager deleted the chore/go-1.26 branch August 25, 2026 00:45
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