Skip to content

Commit

Permalink
Simplify and update verify-templating.yml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tianon committed Dec 13, 2024
1 parent 1577814 commit cb04936
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/verify-templating.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Apply Templates
run: ./apply-templates.sh
- name: Check Git Status
run: |
status="$(git status --short)"
[ -z "$status" ]
- run: ./apply-templates.sh
- run: git diff --exit-code

0 comments on commit cb04936

Please sign in to comment.