We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 462025e commit 4f6ef7aCopy full SHA for 4f6ef7a
.github/workflows/static_analysis.yaml
@@ -0,0 +1,27 @@
1
+name: Static analysis
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ - develop
7
+ - feature_*
8
+
9
+ pull_request:
10
11
12
13
14
15
+jobs:
16
+ cpp-check:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - name: Prepare
21
+ run: |
22
+ sudo apt install cppcheck -y
23
24
+ - name: Run cppcheck
25
26
+ cppcheck --enable=all --inline-suppr -I src --std=c++17 --error-exitcode=1 \
27
+ --suppressions-list=./suppressions.txt src
suppressions.txt
@@ -0,0 +1,2 @@
+missingIncludeSystem
+useStlAlgorithm
0 commit comments