Skip to content
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

Add check for Go module version matching CI #5153

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

bestbeforetoday
Copy link
Member

@bestbeforetoday bestbeforetoday commented Feb 24, 2025

The Go directive in the go.mod file is used by vulnerability scanning to determine the Go standard library version to scan for vulnerabilities. This needs to match exactly the Go version used in CI to build release binaries for vulnerability scanning to provide an accurate results for a given Fabric release.

This change adds a CI check that the Go version used exactly matches the Go directive in the go.mod file.

The Go directive in the go.mod file is used by vulnerability scanning to
determine the Go standard library version to scan for vulnerabilities.
This needs to match exactly the Go version used in CI to build release
binaries for vulnerability scanning to provide an accurate results for a
given Fabric release.

This change adds a CI check that the Go version used exactly matches the
Go directive in the go.mod file.

Signed-off-by: Mark S. Lewis <[email protected]>
@bestbeforetoday bestbeforetoday marked this pull request as ready for review February 24, 2025 11:08
@bestbeforetoday bestbeforetoday requested a review from a team as a code owner February 24, 2025 11:08
@pfi79 pfi79 merged commit 2a2fed5 into hyperledger:main Feb 24, 2025
15 checks passed
@bestbeforetoday bestbeforetoday deleted the go-version-check branch February 24, 2025 11:22
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