Skip to content

Commit

Permalink
CI: use bash as the shell in editorconfig workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAShelf committed Oct 11, 2023
1 parent 7cca2d1 commit 4a14014
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ jobs:
run: |
cat "$HOME/changed_files" | nix-shell -p editorconfig-checker --run 'xargs -r editorconfig-checker -disable-indent-size'
- if: ${{ failure() }}
- name: Display Error
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

0 comments on commit 4a14014

Please sign in to comment.