From 5704fb7c6afedea6a38aa197ae2cd32f8f978b4a Mon Sep 17 00:00:00 2001 From: Binyang Li Date: Thu, 11 May 2023 08:38:00 +0000 Subject: [PATCH] update --- .github/workflows/cpplint.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cpplint.yml b/.github/workflows/cpplint.yml index b9f9b202..c2e6cb43 100644 --- a/.github/workflows/cpplint.yml +++ b/.github/workflows/cpplint.yml @@ -26,7 +26,7 @@ jobs: - name: Run cpplint run: | - CPPSOURCES=$(find ./ -regextype posix-extended -regex '.*\.(c|cpp|h|hpp|cc|cxx|cu)' -not -path "./build/*" -not -path "./python/*") + CPPSOURCES=$(find ./ -regextype posix-extended -regex '.*\.(c|cpp|h|hpp|cc|cxx|cu)' -not -path "./build/*" -not -path "./python/*" -not -path "./test/*") PYTHONCPPSOURCES=$(find ./python/src/ -regextype posix-extended -regex '.*\.(c|cpp|h|hpp|cc|cxx|cu)') - clang-format-12 -style=file --verbose --Werror --dry-run $(CPPSOURCES) - clang-format-12 --dry-run $(PYTHONCPPSOURCES) + clang-format-12 -style=file --verbose --Werror --dry-run ${CPPSOURCES} + clang-format-12 --dry-run ${PYTHONCPPSOURCES}