Ericsson / CodeCompass

CodeCompass is a software comprehension tool for large scale software written in C/C++ and Java
https://codecompass.net
GNU General Public License v3.0
497 stars 96 forks source link

CodeQL integration to CI #719

Closed mcserep closed 3 months ago

mcserep commented 3 months ago

Closes #668.

The default CodeQL setup could not autobuild CodeCompass, therefore a manual workflow was defined, as described in the guide:
https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages

The new codeql.yml file has some redundancy with the build job in ci.yml, but refactoring this would require much more time than I have now. The performance is acceptable:

Since I made CodeQL a separate workflow, it can run in parallel with the existing build and parse jobs, therefore it has no significant performance impact overall.

github-advanced-security[bot] commented 3 months ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.