Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

CodeQL Analysis

CodeQL Analysis #11

Workflow file for this run

name: CodeQL Analysis
on:
push:
branches: [master, ver/*]
pull_request:
branches: [master, ver/*]
schedule:
- cron: "25 16 * * 5"
workflow_dispatch:
jobs:
analyze:
name: Analyze (${{ matrix.language }})
timeout-minutes: 180
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
os: ubuntu-latest
- language: c-cpp
build-mode: manual
os: ubuntu-latest
runs-on: ${{ matrix.os }}
permissions:
security-events: write
packages: read
actions: read
contents: read
steps:
- uses: actions/checkout@v6
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
queries: security-extended,security-and-quality
- name: Install cmdfx
if: ${{ matrix.language == 'c-cpp' }}
run: curl -fsSL https://raw.githubusercontent.com/gmitch215/cmdfx/master/install.sh | bash -s -- --no-kn --shallow
- name: Build Project
if: ${{ matrix.build-mode == 'manual' }}
run: |
cmake -B build
cmake --build build --config Debug
shell: bash
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{ matrix.language }}"