Skip to content

codeql

codeql #350

Workflow file for this run

name: codeql
on:
push:
pull_request:
schedule:
- cron: '0 5 * * 3'
jobs:
codeql:
runs-on: ubuntu-latest
name: "CodeQL"
env:
CC: gcc-10
CXX: g++-10
steps:
- name: Checkout
uses: actions/checkout@main
- name: Install dependencies
run: sudo script/ci_setup_dependencies.sh
- name: CodeQL Initialization
uses: github/codeql-action/init@v2
with:
languages: cpp
queries: +security-and-quality
- name: Build
run: |
cmake -S test -B build
cmake --build build -j 4
- name: CodeQL Analysis
uses: github/codeql-action/analyze@v2