Skip to content

Commit 457fb94

Browse files
committed
Fixed cppcheck workflow
1 parent bc9ef05 commit 457fb94

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/cppcheck.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,18 @@ jobs:
1818
lfs: true
1919

2020
- name: Install cppcheck
21-
run: sudo apt-get update && sudo apt-get install -y cppcheck
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install -y cppcheck=2.17.1
2224
2325
- name: Run cppcheck (SARIF output)
2426
run: |
2527
mkdir -p cppcheck-output
2628
cppcheck --enable=all --inconclusive --quiet \
2729
--output-file=cppcheck-output/cppcheck.sarif \
2830
--output-format=sarif \
29-
$GITHUB_WORKSPACE/framework/src/
30-
-I $GITHUB_WORKSPACE/include/
31+
$GITHUB_WORKSPACE/framework/src/ \
32+
-I $GITHUB_WORKSPACE/include/ \
3133
-I $GITHUB_WORKSPACE/framework/include/
3234
3335
- name: Upload SARIF to GitHub

0 commit comments

Comments
 (0)