Repository navigation
chore: upgrade to Go 1.27 + go fix modernize - #138
Merged
Merged
Conversation
lehainam-dev
force-pushed
the
chore/go-1.27
branch
from
October 22, 2026 09:09
617888b to
810b222
Compare
- Run `go fix ./...` (interface{} -> any, strings.Builder, slices.Backward,
struct literal fields).
- Bump golangci-lint to v2.14.0 (first Go 1.27 support is v2.13.0) and
golangci-lint-action to v9; drop inputs removed from the action.
- Exclude staticcheck QF1008: explicit embedded-field selectors are
intentional in wrapper types.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
go.mod, the Dockerfile, and the CI/release workflows.go fix ./...modernizers:interface{}→any,strings.BuilderinFormatKey,slices.BackwardinRedisBlockKeeper.Init, and the Redis config built in a single struct literal.go 1.27module; Go 1.27 support starts at v2.13.0. Droppedskip-pkg-cache/skip-build-cache, which the action no longer accepts.QF1008: explicit embedded-field selectors such ask.BaseBlockKeeper.Add()are intentional in wrapper types.Testing
go build,go vetandgo test -race ./...pass on Go 1.27.0.Deploy note
Raising the
godirective from 1.22 to 1.27 also changes GODEBUG defaults. For example, post-quantum TLS key exchange is on by default since Go 1.24. There is no explicit TLS config in this repo, but watchwss://andhttpsRPC connections after deploy.🤖 Generated with Claude Code