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

Don't modify Go module version #11

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

derekparker
Copy link
Contributor

@derekparker derekparker commented Sep 1, 2023

We currently set the Go module toolchain version to an earlier version to allow running go mod tidy from older versions. However, this has the side effect of making the Go toolchain emulate older Go versions. This breaks some standard library tests which expect current toolchain behavior.

Instead, do not modify the module version and instead use the new toolchain to run the go mod ... steps, which is done via golang-fips/go#114.

We set the Go module toolchain version to an earlier version to allow
running `go mod tidy` from older versions. However, this has the side
effect of making the Go toolchain emulate older Go versions. This breaks
some standard library tests which expect current toolchain behavior. To
fix this, restore Go module toolchain version after tidy.
@derekparker derekparker changed the title Restore go module toolchain version Don't modify Go module version Sep 5, 2023
@alexsaezm
Copy link
Collaborator

LGTM

@derekparker derekparker merged commit 68263d5 into golang-fips:main Sep 6, 2023
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