readme: Add OpenSSF Best Practices badge #132
Workflow file for this run
This file contains 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
name: "CodeQL" | |
on: | |
push: | |
branches: '**' | |
pull_request: | |
branches: [main] | |
schedule: | |
- cron: '20 14 * * 1' | |
jobs: | |
codeql: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout code including full history and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Install dependencies from APT repository | |
run: | | |
sudo apt-get update | |
sudo apt-get install cmake libcunit1-dev ninja-build unzip wget | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: cpp | |
- name: Build all binaries | |
run: tools/ci/run_ci.sh --run-build | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |