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

chore: detect go version for go mod tidy #6

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

hectorj2f
Copy link
Member

This PR detects the golang version and sets it in the go.mod file, e.g go mod tidy -go=<version>. We assume our wolfi golang version is satisfying the initial requirements from the go.mod and its version is higher than the minimum defined in the go.mod file.

This PR also supports running go mod tidy before the bumps.

closes #5

@hectorj2f hectorj2f self-assigned this Dec 20, 2023
Signed-off-by: Hector Fernandez <[email protected]>
@rawlingsj rawlingsj merged commit 850f9d4 into main Dec 20, 2023
5 checks passed
@rawlingsj rawlingsj deleted the go_mod_tidy_version branch December 20, 2023 16:08
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.

Avoid overriding go-version in gobump
2 participants