From 29b78419c95c9bad064d0e7ca4938a3962bfb0b5 Mon Sep 17 00:00:00 2001 From: chrchr Date: Wed, 4 May 2022 20:05:24 +0200 Subject: [PATCH] Show uncrustify diff --- .github/workflows/format.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 8b1a02baf..ec35e48f3 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -34,4 +34,6 @@ jobs: - name: Uncrustify check run: | - ~/uncrustify/uncrustify -c .uncrustify.cfg -l CPP --check */*.cpp */*.h + ~/uncrustify/uncrustify -c .uncrustify.cfg -l CPP --no-backup --replace */*.cpp */*.h + git diff + git diff | diff - /dev/null &> /dev/null