Build: require Go 1.26 everywhere at once #265

Closed
opened 2026-09-26 20:59:47 +00:00 by yonlu · 1 comment
Owner

go.mod declares go 1.25.0, and CI, the desktop and APK workflows, the Arch makedepends and CONTRIBUTING all say 1.25. Two things push toward 1.26:

  • The newest github.com/go-json-experiment/json (indirect, via wails/v3/pkg/application) declares go 1.26, so upgrading it raises our go directive with it.
  • Locally, make lint under Go 1.27 panics inside honnef.co/go/tools@v0.7.0 (buildir: unexpected expr: *ast.KeyValueExpr), and this reproduces on a clean main. Linting needs GOTOOLCHAIN=go1.26.0 either way.

Direction

Require Go 1.26 in one step, everywhere at once: go.mod/go.sum, GO_VERSION in ci.yml, desktop-assets.yml and android-apk.yml, makedepends in the PKGBUILD, and the table in CONTRIBUTING.

The Homebrew formula builds from source on the user's machine, so its Go dependency needs the same check.

`go.mod` declares `go 1.25.0`, and CI, the desktop and APK workflows, the Arch `makedepends` and CONTRIBUTING all say 1.25. Two things push toward 1.26: - The newest `github.com/go-json-experiment/json` (indirect, via `wails/v3/pkg/application`) declares `go 1.26`, so upgrading it raises our `go` directive with it. - Locally, `make lint` under Go 1.27 panics inside `honnef.co/go/tools@v0.7.0` (`buildir: unexpected expr: *ast.KeyValueExpr`), and this reproduces on a clean `main`. Linting needs `GOTOOLCHAIN=go1.26.0` either way. ## Direction Require Go 1.26 in one step, everywhere at once: `go.mod`/`go.sum`, `GO_VERSION` in `ci.yml`, `desktop-assets.yml` and `android-apk.yml`, `makedepends` in the PKGBUILD, and the table in CONTRIBUTING. The Homebrew formula builds from source on the user's machine, so its Go dependency needs the same check.
yonlu added the Kind/EnhancementArea/Packaging
Priority
Low
4
labels 2026-09-26 20:59:47 +00:00
yonlu self-assigned this 2026-09-26 21:00:55 +00:00
yonlu added the
Status
In Progress
label 2026-09-26 21:00:56 +00:00
Author
Owner

Taking this on build/265-go-1.26, as one commit that moves every Go version pin at once, including index-artifact.yml's golang:1.25 image, which the local bump had missed.

Taking this on `build/265-go-1.26`, as one commit that moves every Go version pin at once, including `index-artifact.yml`'s `golang:1.25` image, which the local bump had missed.
yonlu closed this issue 2026-09-27 01:45:21 +00:00
gitea-actions bot removed the
Status
In Progress
label 2026-09-27 01:46:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yonlu/yellowjacket#265