diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml index 3a67a0b0a..5b05f8b40 100644 --- a/.github/workflows/editorconfig.yml +++ b/.github/workflows/editorconfig.yml @@ -40,7 +40,8 @@ jobs: cat "$HOME/changed_files" | nix-shell -p editorconfig-checker --run 'xargs -r editorconfig-checker -disable-indent-size' - if: ${{ failure() }} + shell: bash run: | - echo "::error:: Current formatting does not fit convention provided by .editorconfig located in the project root." && - echo "Please make sure your editor properly integrates editorconfig. See https://editorconfig.org/#download for more." && + echo "::error:: Current formatting does not fit convention provided by .editorconfig located in the project root." + echo "Please make sure your editor properly integrates editorconfig. See https://editorconfig.org/#download for more." exit 1