Skip to content

Commit

Permalink
CI: return exit status for .editorconfig checker
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAShelf committed Oct 20, 2023
1 parent 0c44b96 commit 026586d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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() }}
Expand Down

0 comments on commit 026586d

Please sign in to comment.