Skip to content

Bump thirdparty/sentry from e8c7f15 to b598af0 #235

Bump thirdparty/sentry from e8c7f15 to b598af0

Bump thirdparty/sentry from e8c7f15 to b598af0 #235

name: "CodeQL"
on:
schedule:
- cron: '21 9 * * 4'
push:
branches:
- 'master'
pull_request:
permissions:
contents: read
env:
CCACHE_DIR: ${{ github.workspace }}/.ccache
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
container: egecetinn/ubuntu2204
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
submodules: recursive
- name: Restore ccache
id: ccache-restore
uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: |
${{ env.CCACHE_DIR }}
key: codeql-ccache-${{ github.run_id }}
restore-keys: |
codeql-ccache
- name: Initialize CodeQL
uses: github/codeql-action/init@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
with:
languages: ${{ matrix.language }}
- name: Configure
run: cmake -S . -B build
- name: Build
run: cmake --build build --parallel
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
- name: Save ccache
uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}