Upgrade to Go 1.26 and add go fix ./... to CI #108
Labels
No labels
bug
ci
documentation
duplicate
enhancement
feature
good first issue
help wanted
invalid
performance
priority
P0
priority
P1
priority
P2
question
refactor
size
L
size
M
size
S
size
XL
size
XS
tests
trivial
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
noe.trevino/paso#108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Upgrade the project from Go 1.25.0 to Go 1.26.0 and add
go fix ./...as a CI gate.Motivation
Go 1.26 ships with a completely revamped
go fixcommand that serves as the home for Go's modernizers. It provides a push-button way to update codebases to the latest idioms and core library APIs. Adding it to CI ensures the codebase stays modernized automatically.Key Go 1.26 features:
go fixwith dozens of modernizersnew()with initial value expressionserrors.AsTypegeneric functionTasks
go.modtogo 1.26.0GO_VERSIONin.github/workflows/ci.ymlto1.26.0go fix ./...check step to CI (fail if it produces changes)go fix ./...on the codebase and commit the modernized code