From 1fcdc0b636a7e22976471f8b47bb0ba36a537558 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 20 Oct 2023 11:52:35 +0300 Subject: [PATCH] CI: name the failure step --- .github/workflows/editorconfig.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml index 15ea262..76e6847 100644 --- a/.github/workflows/editorconfig.yml +++ b/.github/workflows/editorconfig.yml @@ -33,10 +33,13 @@ jobs: - uses: DeterminateSystems/magic-nix-cache-action@main - name: Checking EditorConfig + shell: bash run: | - cat "$HOME/changed_files" | nix-shell -p editorconfig-checker.out --run 'xargs -r editorconfig-checker -disable-indent-size' + cat "$HOME/changed_files" | nix-shell -p editorconfig-checker.out --run 'xargs -r editorconfig-checker -disable-indent-size --verbose' + echo -n "Check status: $?" - - if: ${{ failure() }} + - name: Fail Gracefully + if: ${{ failure() }} shell: bash run: | echo "::error:: Current formatting does not fit convention provided by .editorconfig located in the project root."