1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-26 01:18:06 +00:00

workflows/ci.yml: Overwrite cppcheck error code

By default cppcheck returns 0 even if it encounters problems. Overwrite this with 1.
This commit is contained in:
Anichitei Ionel-Cristinel 2020-09-22 18:22:28 +03:00 committed by GitHub
parent 45c9efd024
commit ad95383878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/