Skip to content

CodeQL

CodeQL #2297

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
paths:
- '**/*.c'
- '**/*.h'
schedule:
- cron: 45 3 * * 6
permissions:
contents: read
jobs:
codeql:
name: Static Analysis (CodeQL)
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository }}:latest
permissions:
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Initialize
uses: github/codeql-action/init@v3
with:
languages: cpp
- name: Build
run: |
meson setup --buildtype=release \
_build
meson compile -C _build
- name: Analyze
uses: github/codeql-action/analyze@v3