Skip to content

Go: Revert go version call in LoadGoModules #16096

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

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

mbg
Copy link
Member

@mbg mbg commented Apr 2, 2024

This removes a problematic change introduced in #15979 which invokes go version in the LoadGoModules function with a suitable GOTOOLCHAIN environment variable to try and force Go to install a particular version of Go. This does not seem to work correctly and, additionally, breaks the resolve build-environment functionality for Go. Therefore, we are temporarily removing the call until those issues are addressed.

@mbg mbg requested a review from a team as a code owner April 2, 2024 14:21
@github-actions github-actions bot added the Go label Apr 2, 2024
Copy link
Contributor

@igfoo igfoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks plausible.

@mbg mbg merged commit 48f9343 into codeql-cli-2.17.0 Apr 2, 2024
9 checks passed
@mbg mbg deleted the mbg/go/revert-auto-version-fixing branch April 2, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants