Skip to content

Bump github/codeql-action from 3.26.12 to 3.26.13 in the version-updates group #610

Bump github/codeql-action from 3.26.12 to 3.26.13 in the version-updates group

Bump github/codeql-action from 3.26.12 to 3.26.13 in the version-updates group #610

Workflow file for this run

name: CodeQL analysis
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '00 18 * * 1'
workflow_dispatch:
permissions: read-all
jobs:
analyze:
name: CodeQL analysis
runs-on: macos-latest
permissions:
security-events: write
steps:
- name: Harden runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install dependencies
run: brew install popt
- name: Initialize CodeQL
uses: github/codeql-action/init@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
with:
languages: cpp
queries: security-and-quality
source-root: src
- name: Build sources
run: |
cmake -S . -B build -D CMAKE_OSX_ARCHITECTURES=arm64
cmake --build build
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13