workflows/ci.yml: Overwrite cppcheck error code

By default cppcheck returns 0 even if it encounters problems. Overwrite this with 1.
pull/21/head
Anichitei Ionel-Cristinel 4 years ago committed by GitHub
parent 45c9efd024
commit ad95383878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -86,4 +86,4 @@ jobs:
- name: Install cppcheck
run: sudo apt install -y cppcheck
- name: Run cppcheck
run: cppcheck --language=c --enable=all -I inc/ -I inc/bdshemu -I bddisasm/include bddisasm/ bdshemu/
run: cppcheck --error-exitcode=1 --language=c --enable=all -I inc/ -I inc/bdshemu -I bddisasm/include bddisasm/ bdshemu/

Loading…
Cancel
Save