From f6eeb69d772aa0cd1a2e3c53b465bd66c865531b Mon Sep 17 00:00:00 2001 From: TapTap Date: Sun, 19 Jul 2026 16:09:13 +0200 Subject: [PATCH] ci: use find|xargs for clang-format to fix directory handling --- .gitea/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/