From 026586d4200c2f472f51469fa4e7b6b42621ca5b Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 20 Oct 2023 11:56:21 +0300 Subject: [PATCH] CI: return exit status for .editorconfig checker --- .github/workflows/editorconfig.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml index bd18a8212..76e684734 100644 --- a/.github/workflows/editorconfig.yml +++ b/.github/workflows/editorconfig.yml @@ -33,8 +33,10 @@ 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: $?" - name: Fail Gracefully if: ${{ failure() }}