blob: 89a4f0a27411b20921f2b3b34de9dcfc1098a91d [file] [log] [blame]
Michal Vaskoe014cdb2022-12-05 10:43:12 +01001name: "CodeQL"
2
3on:
4 push:
5 branches: [ "master", "devel" ]
6 pull_request:
7 branches: [ "devel" ]
Michal Vaskoe014cdb2022-12-05 10:43:12 +01008
9jobs:
10 analyze:
11 name: Analyze
12 runs-on: ubuntu-latest
13 permissions:
14 actions: read
15 contents: read
16 security-events: write
17
18 strategy:
19 fail-fast: false
20 matrix:
21 language: [ cpp ]
22
23 steps:
24 - name: Checkout
Vincent JARDINb66f0252024-03-20 14:03:30 +010025 uses: actions/checkout@main
Michal Vaskoe014cdb2022-12-05 10:43:12 +010026
27 - name: Initialize CodeQL
Vincent JARDINb66f0252024-03-20 14:03:30 +010028 uses: github/codeql-action/init@main
Michal Vaskoe014cdb2022-12-05 10:43:12 +010029 with:
30 languages: ${{ matrix.language }}
31 queries: +security-and-quality
32
33 - name: Autobuild
Vincent JARDINb66f0252024-03-20 14:03:30 +010034 uses: github/codeql-action/autobuild@main
Michal Vaskoe014cdb2022-12-05 10:43:12 +010035
36 - name: Perform CodeQL Analysis
Vincent JARDINb66f0252024-03-20 14:03:30 +010037 uses: github/codeql-action/analyze@main
Michal Vaskoe014cdb2022-12-05 10:43:12 +010038 with:
39 category: "/language:${{ matrix.language }}"