From 688bc89b44ef96d0cc8ba97f20b6f935875467c5 Mon Sep 17 00:00:00 2001 From: Mauro Ezequiel Moltrasio Date: Tue, 1 Oct 2024 12:13:04 +0200 Subject: [PATCH] chore(ci): show diff on failed format The provided patch is great to fix large formatting errors, however, it would be nice for CI to also show the diff for smaller changes that could be directly typed without having to download the patch. Signed-off-by: Mauro Ezequiel Moltrasio --- .github/workflows/format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 8432c3abd9..fb555b9020 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -24,7 +24,7 @@ jobs: - name: Run pre-commit ©️ run: | - pre-commit run --all-files + pre-commit run --show-diff-on-failure --color=always --all-files - name: Generate the git-diff 🚒 if: failure()