We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eecb87 commit fd816b8Copy full SHA for fd816b8
.github/workflows/test.yml
@@ -156,9 +156,8 @@ jobs:
156
157
- name: verify schema.sql is committed
158
run: |
159
- docker compose -f migrations/docker-compose.yaml up db dbmate --abort-on-container-exit
160
- if ! git diff --ignore-space-at-eol --exit-code --quiet migrations/schema.sql; then
161
- echo "Detected uncommitted changes after build. See status below:"
162
- git diff
+ if ! git diff --exit-code --quiet migrations/schema.sql; then
+ echo "Detected changes in schema.sql:"
+ git diff migrations/schema.sql
163
exit 1
164
fi
0 commit comments