Closed
Description
CodeQL runs currently fail when the go.mod is set to version 1.22.0. Go 1.22.0 was released on 2024-02-06.
The error message (as seen in this run) of the failing step ("Setup Go") is:
go: download go1.22 for linux/amd64: toolchain not available
Error: Command failed: go env GOPATH
However, if you look up earlier in the "Configure" step, there's a message emitted from identify-environment.sh
:
The version of Go found in the `go.mod` file (1.22) is above the supported range (1.11-1.21). The version of Go installed in the environment (1.20.14) is below the maximum supported version (1.21). Requesting the maximum supported version of Go (1.21).