Skip to content

Refine

Refine #291

Workflow file for this run

name: CodeQL
on:
push:
pull_request:
schedule:
- cron: '0 6 * * 3'
permissions:
security-events: write
jobs:
analyze:
strategy:
matrix:
language:
- C++
- Python
fail-fast: false
name: ${{ matrix.language }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install -U pip setuptools "scmver[toml]"
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3