1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-04-19 11:42:18 +03:00

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:
Tianon Gravi 2024-12-13 15:02:43 -08:00
parent 1577814922
commit cb049360d9

View File

@ -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" ]