Skip to content

Commit b4d6b9b

Browse files
committed
sarif
1 parent 1657fa9 commit b4d6b9b

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/selfcheck.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,9 @@ jobs:
188188
name: Callgrind Output
189189
path: ./callgrind.*
190190

191-
build_extra: # extra warnings
192-
# certain suppressed warnings are saved in sarif report that is uploaded to github
193-
# to allow manual inspection
194-
# these warnings do not make CI red, by intention.
195-
# * tests the github integration
196-
# * more comfortable release procedure
191+
build_sarif_github:
192+
# generate sarif report and upload it to github
193+
# tests the github integration
197194

198195
strategy:
199196
fail-fast: false # Prefer quick result
@@ -211,7 +208,7 @@ jobs:
211208
212209
- name: Run Cppcheck
213210
run: |
214-
./cppcheck -D__CPPCHECK__ -D__GNUC__ -DCHECK_INTERNAL -DHAVE_RULES --std=c++11 --library=cppcheck-lib --library=qt --enable=style --inconclusive --inline-suppr --suppress=useStlAlgorithm --suppress=*:externals/picojson.h --suppress=normalCheckLevelMaxBranches cli gui/*.cpp lib --output-format=sarif 2> results.sarif
211+
./cppcheck -D__CPPCHECK__ -D__GNUC__ -DCHECK_INTERNAL -DHAVE_RULES --std=c++11 --library=cppcheck-lib --library=qt --enable=style --inconclusive --inline-suppr cli gui/*.cpp lib --output-format=sarif 2> results.sarif
215212
216213
- name: Results
217214
run: |

0 commit comments

Comments
 (0)