Skip to content

Refactor complex sentry function #258

Refactor complex sentry function

Refactor complex sentry function #258

Workflow file for this run

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: recursive
- name: Restore ccache
id: ccache-restore
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
with:
path: |
${{ env.CCACHE_DIR }}
key: codeql-ccache-${{ github.run_id }}
restore-keys: |
codeql-ccache
- name: Initialize CodeQL
uses: github/codeql-action/init@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
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@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
- name: Save ccache
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}