Repository navigation
ci: skip C++ build during CodeQL Actions analysis - #216
Conversation
Install native dependencies and build only for C++ analysis; the Actions analysis does not need either step.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #216 +/- ##
=======================================
Coverage 85.00% 85.00%
=======================================
Files 5 5
Lines 240 240
Branches 53 53
=======================================
Hits 204 204
Misses 1 1
Partials 35 35 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the CodeQL workflow change.
No open issues 🎉
What changed in this PR
This PR avoids unnecessary native build work during CodeQL workflow analysis while preserving both C++ and GitHub Actions analyses.
Changes:
- Restricts dependency installation and the C++ build to the
c-cppmatrix entry. - Leaves the
actionsentry enabled without running either step.
| File | Description |
|---|---|
.github/workflows/codeql.yml |
Adds language conditions to the dependency installation and build steps. |
Review effort: Balanced
Test Results 5 files 5 suites 52s ⏱️ Results for commit 65a7443. |



Run dependency installation and the C++ build only for the
c-cppCodeQL matrix entry. Theactionsentry analyzes workflows without installing native dependencies or building the project; both CodeQL analyses remain enabled.