-
Notifications
You must be signed in to change notification settings - Fork 5
Fix Github Actions Workflow #67
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
Conversation
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.
Pull request overview
This PR attempts to modernize the GitHub Actions workflow by upgrading the setup-go action and updating Go versions. However, there are critical issues with version specifications that will prevent the workflow from functioning correctly.
- Upgrades
actions/setup-gofrom v1 to v5 - Updates Go version testing matrix to include newer versions
- Updates minimum Go version in go.mod
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| go.mod | Updates the minimum Go version directive (contains syntax error) |
| .github/workflows/tests.yml | Upgrades setup-go action and updates Go version matrix for testing (references unreleased versions) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
go.mod
Outdated
| module github.com/blevesearch/scorch_segment_api/v2 | ||
|
|
||
| go 1.21 | ||
| go 1.24.0 |
Copilot
AI
Dec 26, 2025
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.
The Go version directive in go.mod should use only major.minor format (e.g., "go 1.24"), not major.minor.patch format. The ".0" patch version should be removed.
| go 1.24.0 | |
| go 1.24 |
go.mod
Outdated
| module github.com/blevesearch/scorch_segment_api/v2 | ||
|
|
||
| go 1.21 | ||
| go 1.24.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.
Drop the .0.
actions/setup-go@v1toactions/setup-go@v5go 1.24.0