ci: add static analysis, sanitizers, and formatting enforcement #24
@@ -11,7 +11,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: clang-format check
|
- name: clang-format check
|
||||||
run: clang-format --dry-run --Werror src/ tests/
|
run: find src/ tests/ -name '*.c' -o -name '*.h' | xargs clang-format --dry-run --Werror
|
||||||
|
|
||||||
- name: cppcheck
|
- name: cppcheck
|
||||||
run: cppcheck --enable=warning,style,performance,portability --suppress=missingIncludeSystem --error-exitcode=1 --inline-suppr src/ tests/
|
run: cppcheck --enable=warning,style,performance,portability --suppress=missingIncludeSystem --error-exitcode=1 --inline-suppr src/ tests/
|
||||||
|
|||||||
Reference in New Issue
Block a user