Skip to content

Bump actions/upload-artifact from 4.4.3 to 4.5.0 in the version-updates group #672

Bump actions/upload-artifact from 4.4.3 to 4.5.0 in the version-updates group

Bump actions/upload-artifact from 4.4.3 to 4.5.0 in the version-updates group #672

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@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install dependencies
run: brew install popt
- name: Initialize CodeQL
uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
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@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9