Skip to content

ci: update actions and read Go version from go.mod - #67

Open
tomarrell wants to merge 2 commits into
masterfrom
chore/go-1.27.1
Open

tomarrell wants to merge 2 commits into
masterfrom
chore/go-1.27.1

Conversation

@tomarrell

@tomarrell tomarrell commented Sep 7, 2026 •

Copy link
Copy Markdown
Owner

Update actions/checkout and actions/setup-go to v7, and read the Go version from go.mod so CI tests against the module's declared minimum. Checkout now runs before setup-go so go.mod is available.

Correct the README's minimum Go version to 1.24.0 to match go.mod. That floor is set by golang.org/x/tools v0.39.0. The go directive stays at 1.24.0 so downstream consumers such as golangci-lint (currently go 1.26.0) aren't forced onto a newer toolchain.

Validated: go test ./... and go vet ./... pass on Go 1.24.0, 1.26.0 and 1.27.1; go mod tidy -diff is clean.

Restore the go directive to 1.24.0, the floor required by
golang.org/x/tools v0.39.0. Raising it to 1.27.1 would force downstream
consumers such as golangci-lint (go 1.26.0) onto a newer toolchain
without any code needing it.

Align the README minimum with go.mod.
@tomarrell tomarrell changed the title chore: update Go to 1.27.1 ci: update actions and read Go version from go.mod Sep 23, 2026
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