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

Codeql is giving warning: Invalid Go toolchain version #5880

Open
friedrichg opened this issue Apr 22, 2024 · 0 comments
Open

Codeql is giving warning: Invalid Go toolchain version #5880

friedrichg opened this issue Apr 22, 2024 · 0 comments

Comments

@friedrichg
Copy link
Member

Describe the bug
CodeQl is refusing to analyse the cortex code

To Reproduce
Steps to reproduce the behavior:
https://github.com/cortexproject/cortex/security/code-scanning/tools/CodeQL/status/configurations/actions-FZTWS5DIOVRC653POJVWM3DPO5ZS65DFON2C2YTVNFWGILLEMVYGY33ZFZ4W23A/42065a090d6e5bc992b82fafa11d0bd003344f9e8baec9c2f02bffa068a55410

As of Go 1.21, toolchain versions [must use the 1.N.P syntax](https://go.dev/doc/toolchain#version).

1.21 in go.mod does not match this syntax and there is no additional toolchain directive, which may cause some go commands to fail.

Expected behavior
it should not fail or give warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant