Closed
Description
We were utilizing the default init action that downloads the latest bundle available, once 2.18.3 was released our autobuild and analyze steps starting failing with the following error:
2024/09/04 14:10:55 internal error: error "package requires newer Go version go1.23" (*errors.errorString) without position
2024/09/04 14:10:55 internal error: error "package requires newer Go version go1.23" (*errors.errorString) without position
2024/09/04 14:10:59 internal error: package "entgo.io/ent/entc/gen" without types was imported from "entgo.io/contrib/entproto"
2024/09/04 14:10:59 Extraction failed for .: exit status 1
2024/09/04 14:10:59 Extraction failed for all discovered Go projects.
Error: We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.18.3/x64/codeql/go/tools/autobuild.sh". Exit code was 1 and last log line was: 2024/09/04 14:10:59 Extraction failed for all discovered Go projects. See the logs for more details.
We do install the correct version of Go using GitHub actions and that does not seem to overwrite the version this is using. When we pin ourselves back to 2.18.2 in the init step everything works as expected.
Metadata
Metadata
Assignees
Labels
No labels