microsoft / go

The Microsoft build of the Go toolset
BSD 3-Clause "New" or "Revised" License
252 stars 20 forks source link

Add CodeQL workflow #1185

Closed dagood closed 3 months ago

dagood commented 3 months ago

About using a matrix, I found this interesting:

Using the language matrix optimizes CodeQL to run each analysis in parallel. We recommend that all workflows adopt this configuration due to the performance benefits of parallelizing builds.

(https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning)

Calling the C/C++ language "cpp" for consistency with internal builds. (It's just an alias.)

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.