mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 00:42:34 +01:00
add github action to lint on push/pr
This commit is contained in:
parent
b5256e31ee
commit
0c318f87ab
5
.github/workflows/lint.yaml
vendored
5
.github/workflows/lint.yaml
vendored
@ -23,7 +23,6 @@ jobs:
|
||||
uses: trilom/file-changes-action@v1.2.4
|
||||
with:
|
||||
output: ' '
|
||||
continue-on-error: true # see jitterbit/get-changed-files#7
|
||||
- run: ./format.sh ${{ steps.files.outputs.files}}
|
||||
|
||||
# fail if any files were changed by ./format.sh
|
||||
@ -34,6 +33,4 @@ jobs:
|
||||
|
||||
- name: Fail if any files reformatted
|
||||
if: steps.files_formatted.outputs.files_changed == 'true'
|
||||
run: |
|
||||
git diff
|
||||
exit 1
|
||||
run: exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user