Skip to content

CodeQL

CodeQL #182

Workflow file for this run

name: "CodeQL"
on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:
env:
XC_VERSION: ${{ '16' }}
jobs:
analyze:
name: Analyze
runs-on: macos-14
timeout-minutes: 120
permissions:
security-events: write
packages: read
strategy:
fail-fast: false
matrix:
include:
- language: c-cpp
build-mode: manual
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: c-cpp
build-mode: manual
- name: Build
run: |
sudo xcode-select -s /Applications/Xcode_$XC_VERSION.app
cd Scripts && ./build_for_codeql.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:c-cpp"