Run ci_setup_linux script for CodeQL job too (#314) #572
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
name: codeql | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 5 * * 3' | |
jobs: | |
codeql: | |
runs-on: ubuntu-latest | |
name: "CodeQL" | |
env: | |
CC: gcc | |
CXX: g++ | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: CodeQL Initialization | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: cpp | |
queries: +security-and-quality | |
- name: Build | |
shell: bash | |
run: script/ci.sh run_build | |
- name: CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |