10 runs-on: ubuntu-latest
14 security-events: write
19 language: [ 'cpp', 'python' ]
24 echo "MAKEFLAGS=-j$(nproc)" >> $GITHUB_ENV
26 - name: Checkout repository
27 uses: actions/checkout@v3
29 - name: Initialize CodeQL
30 uses: github/codeql-action/init@v2
32 languages: ${{ matrix.language }}
35 uses: github/codeql-action/autobuild@v2
37 - name: Perform CodeQL Analysis
38 uses: github/codeql-action/analyze@v2
40 category: "/language:${{matrix.language}}"