diff options
-rw-r--r-- | .github/workflows/build-extra.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index 9eb489d52..ff812ca32 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml | |||
@@ -58,4 +58,14 @@ jobs: | |||
58 | - name: install cppcheck | 58 | - name: install cppcheck |
59 | run: sudo apt-get install cppcheck | 59 | run: sudo apt-get install cppcheck |
60 | - name: cppcheck | 60 | - name: cppcheck |
61 | run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance -i src/firejail/checkcfg.c -i src/firejail/main.c . | ||
62 | # new cppcheck version currently chokes on checkcfg.c and main.c, therefore scan all files also | ||
63 | # with older cppcheck version from ubuntu 20.04. | ||
64 | cppcheck_old: | ||
65 | runs-on: ubuntu-20.04 | ||
66 | steps: | ||
67 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | ||
68 | - name: install cppcheck | ||
69 | run: sudo apt-get install cppcheck | ||
70 | - name: cppcheck | ||
61 | run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance . | 71 | run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance . |