forked from web-eid/web-eid-app
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 1.09 KB
/
cmake-linux-codeql.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CodeQL code analysis
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
jobs:
analyze:
name: Run CodeQL tests
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt update -qq && sudo apt install --no-install-recommends -y cmake libpcsclite-dev libgtest-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: github/codeql-action/init@v2
with:
languages: cpp
queries: +security-and-quality
- uses: github/codeql-action/autobuild@v2
- uses: github/codeql-action/analyze@v2
with:
upload: False
output: sarif-results
- uses: advanced-security/filter-sarif@develop
with:
patterns: |
-**/*autogen*/**
input: sarif-results/cpp.sarif
output: sarif-results/cpp.sarif
- uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: sarif-results/cpp.sarif