Bump actions/checkout from 3 to 4 #592
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
--- | |
# Configuration script for CodeQL scan | |
name: "CodeQL" | |
on: | |
push: | |
branches: [master] | |
paths-ignore: | |
- "*.md" | |
- "*.cff" | |
- "env/csv/*.csv" | |
- "env/maze/*.txt" | |
- "cfg/*.json" | |
- "python/*.py" | |
- "python/notebooks/*.ipynb" | |
pull_request: | |
branches: [master] | |
paths-ignore: | |
- "*.md" | |
- "*.cff" | |
- "env/csv/*.csv" | |
- "env/maze/*.txt" | |
- "cfg/*.json" | |
- "python/*.py" | |
- "python/notebooks/*.ipynb" | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ['cpp'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v1 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Configure | |
env: | |
CC: gcc-9 | |
CXX: g++-9 | |
working-directory: build | |
run: cmake .. | |
-DCMAKE_BUILD_TYPE=Debug | |
-DXCSF_PYLIB=OFF | |
-DENABLE_TESTS=OFF | |
- name: Build | |
working-directory: build | |
run: cmake --build . --config Debug -j2 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v1 | |
... |