Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kosli-dev/cli

go 1.26.3
go 1.26.4
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build failure: go build ./... fails on this PR because GitHub Actions resolves .go-version (1.26) to 1.26.3 — the actions/go-versions manifest hasn't published 1.26.4 yet. With GOTOOLCHAIN=local (the default in CI), Go refuses to build a module requiring a newer version than the installed toolchain:

go: go.mod requires go >= 1.26.4 (running go 1.26.3; GOTOOLCHAIN=local)

Two paths forward:

  1. Wait until actions/go-versions publishes 1.26.4, then re-run CI. This is the simplest option and the change itself is correct.
  2. Add a toolchain directive to go.mod (e.g. toolchain go1.26.4) so that Go's toolchain auto-download kicks in even when the runner ships an older patch. This decouples the module requirement from the CI runner's cached version. Note: this requires GOTOOLCHAIN to not be set to local in CI.

The go.mod change itself is sound — it's purely a CI timing issue.


require (
cloud.google.com/go/run v1.21.0
Expand Down
Loading