Skip to content

Conversation

@Kim-Yukyung
Copy link
Contributor

What this PR changes

This PR switches CodeQL from autobuild to manual mode, adds a Go setup step using Go 1.24, and explicitly runs go build ./... so that CodeQL can properly analyze the Go codebase.

Related Issue

Fixes #4399

Signed-off-by: Kim-Yukyung <yukyung116@gmail.com>
include:
- language: go
build-mode: autobuild
build-mode: manual
Copy link
Member

Choose a reason for hiding this comment

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

Why can't we use the autobuild mode?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

After taking a closer look at the logs, it seems that autobuild is not actually failing. I initially misunderstood the Go files were found but not processed message as indicating a required build step, but the analysis itself is completing successfully and the results are being uploaded correctly.

So I agree that switching to manual build is not strictly necessary at this point. Sorry for the confusion.

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.

CI: CodeQL setup seems broken

2 participants