8 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
9 cancel-in-progress: true
14 runs-on: ubuntu-latest
18 security-events: write
23 language: [ 'cpp', 'python' ]
28 echo "MAKEFLAGS=-j$(nproc)" >> $GITHUB_ENV
30 - name: Checkout repository
31 uses: actions/checkout@v4
33 - name: Initialize CodeQL
34 uses: github/codeql-action/init@v3
36 config-file: .github/codeql-${{ matrix.language }}.yml
37 languages: ${{ matrix.language }}
40 uses: github/codeql-action/autobuild@v3
42 - name: Perform CodeQL Analysis
43 uses: github/codeql-action/analyze@v3
45 category: "/language:${{matrix.language}}"