From 96202c3b024e3638e606924037e9af88315b1115 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 21 Nov 2020 20:34:44 +0100 Subject: [PATCH] Clang-format has changed behavior --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c943e0f58..40cc1abc4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,7 +44,7 @@ jobs: - name: install dependencies run: brew install clang-format - name: run clang-format - run: find . -iname \*.h -o -iname \*.c -o -iname \*.cc | xargs clang-format -style=file -i + run: find . -iname \*.h -o -iname \*.c -o -iname \*.cpp | xargs clang-format -style=file -i - name: check run: git diff > clang_format.patch && echo -e "if \n [ -s clang_format.patch ] \nthen \n echo "clang-format not applied:"; echo ""; more clang_format.patch; exit 1 \nfi \n" > detect && chmod +x ./detect && ./detect