Skip to content

Merge pull request #163 from sjinks/renovate/ubuntu-24.04 #479

Merge pull request #163 from sjinks/renovate/ubuntu-24.04

Merge pull request #163 from sjinks/renovate/ubuntu-24.04 #479

Workflow file for this run

name: CodeQL
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '26 7 * * 4'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
security-events: write
actions: read
contents: read
strategy:
fail-fast: false
matrix:
language:
- c-cpp
env:
CC: clang-18
CXX: clang++-18
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Initialize CodeQL
uses: github/codeql-action/init@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
with:
languages: ${{ matrix.language }}
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Build
run: |
cmake -B build -DCMAKE_BUILD_TYPE=MinSizeRel
cmake --build build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
with:
category: "/language:${{ matrix.language }}"