From d66f3ded8f7b22b792edf9ac168d89ee02b2533d Mon Sep 17 00:00:00 2001 From: Alec Edgington Date: Fri, 3 May 2024 12:53:50 +0100 Subject: [PATCH] Show diff from clang-format. --- .github/workflows/build_and_test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index a8a738ef5b..c4ff3ef09f 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -88,7 +88,8 @@ jobs: run: | brew update brew install clang-format@18 - git ls-files "*.cpp" "*.hpp" | xargs clang-format -style=file --dry-run --Werror + git ls-files "*.cpp" "*.hpp" | xargs clang-format -style=file -i + git diff --exit-code build_test_tket: name: Build and test (tket)