mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
CI: name the failure step
This commit is contained in:
parent
a4de8ea0b4
commit
1fcdc0b636
1 changed files with 5 additions and 2 deletions
7
.github/workflows/editorconfig.yml
vendored
7
.github/workflows/editorconfig.yml
vendored
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue