Simplify and update `verify-templating.yml`
This makes it print out a diff when there is an error (instead of just a list of files that are wrong), which will make the error more obvious.
This commit is contained in:
parent
1577814922
commit
cb049360d9
|
|
@ -15,9 +15,5 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Apply Templates
|
- run: ./apply-templates.sh
|
||||||
run: ./apply-templates.sh
|
- run: git diff --exit-code
|
||||||
- name: Check Git Status
|
|
||||||
run: |
|
|
||||||
status="$(git status --short)"
|
|
||||||
[ -z "$status" ]
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue