-
Notifications
You must be signed in to change notification settings - Fork 21
Update Go to 1.24 and use gotestsum #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| module github.com/gofiber/cli | ||
|
|
||
| go 1.21 | ||
| go 1.24 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change updates the project to require Go 1.24, which is a future, unreleased version. Depending on an unstable toolchain is risky as it can lead to unexpected build breakages and creates a higher barrier for contributors to set up their environment. It is strongly recommended to use the latest stable Go version (e.g., |
||
|
|
||
| require ( | ||
| github.com/charmbracelet/bubbles v0.18.0 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Verify feasibility of requiring Go 1.24 before the toolchain is publicly available
Go 1.24 is not released at the time of writing (latest stable is 1.22). Mandating it in the README may block new users who follow the instructions today.
Please double-check:
go.modhas been bumped togo 1.24for consistency.If 1 and 2 are not strictly required yet, consider stating “Go ≥ 1.22 (tested with 1.24beta)” instead, or add a note that 1.24 is currently in beta.
🏁 Script executed:
Length of output: 888
🏁 Script executed:
Length of output: 738
🏁 Script executed:
Length of output: 274
🏁 Script executed:
Length of output: 233
Align Go version requirement in README with codebase
The README now states “Requires Go 1.24 or later,” but the project’s remote go.mod is still set to
go 1.21, and there are no CI workflows or Dockerfiles testing Go 1.24. Please:godirective in go.mod to1.24.setup-go) to include Go 1.24.This will keep documentation, module settings, and CI in sync.
📝 Committable suggestion
🤖 Prompt for AI Agents