Skip to content

Enable CodeQL for Go - #739

Merged
mpkorstanje merged 1 commit into
mainfrom
setup-codeql
May 13, 2026
Merged

mpkorstanje merged 1 commit into
mainfrom
setup-codeql

Conversation

@mpkorstanje

Copy link
Copy Markdown
Member

🤔 What's changed?

Enabled CodeQL sanning for Godog.

⚡️ What's your motivation?

As part of improving Cucumbers overall security posture we're adding static analysis to all repositories. Static analysis allows us to catch some known problems and bad programming patterns early.

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

♻️ Anything particular you want feedback on?

In other projects we are using actions/setup-go but this project uses actions/cache to catch dependencies. Which of these is correct? Or is neither ideal?

📋 Checklist:

@github-actions

github-actions Bot commented May 2, 2026 •

Copy link
Copy Markdown

Go API Changes

# summary
Inferred base version: v0.15.1
Suggested version: v0.16.0

@mpkorstanje
mpkorstanje merged commit 6f30e03 into main May 13, 2026
7 checks passed
@mpkorstanje
mpkorstanje deleted the setup-codeql branch May 13, 2026 16:01
@dolmen

dolmen commented May 14, 2026 •

Copy link
Copy Markdown

How is CodeQL data consumed?

As the maintainer of other projects on GitHub I want to know more about analysis tools.

I have enabled SonarQube on some of my own repos.

@mpkorstanje

Copy link
Copy Markdown
Member Author

@dolmen CodeQL produces SARIF, which is consumed by GitHub. GitHub renders it as PR comments, and there is a section in the menu that shows all the findings. I'm not sure the latter is visible to everyone though.

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.

2 participants