diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 99f3e04..ad75475 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v4 - 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 run: cppcheck --enable=warning,style,performance,portability --suppress=missingIncludeSystem --error-exitcode=1 --inline-suppr src/ tests/