CodeQL C++ Analysis #59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This scans MaCh3 and tries to find vulnerabilities | |
| name: "CodeQL C++ Analysis" | |
| on: | |
| schedule: | |
| - cron: '0 0 * * 1' # KS: Every Monday at midnight to not disturb during weekend... | |
| jobs: | |
| analyze: | |
| name: Analyze C++ Code with CodeQL | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/mach3-software/mach3:alma9v1.3.0 | |
| permissions: | |
| security-events: write | |
| packages: read | |
| actions: read | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: c-cpp | |
| build: none # Specify build none to skip any build steps | |
| - name: Build Code | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake ../ -DMaCh3_Branch=develop | |
| make | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 |