Skip to content

Conversation

@CascadingRadium
Copy link
Member

  • Upgrade actions/setup-go@v1 to actions/setup-go@v5
  • Upgrade to go 1.24.0

Copy link

Copilot AI left a 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-go from 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.

module github.com/blevesearch/scorch_segment_api/v2

go 1.21
go 1.24.0
Copy link

Copilot AI Dec 26, 2025

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.

Suggested change
go 1.24.0
go 1.24

Copilot uses AI. Check for mistakes.
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.

2 participants