ci: always print diff when schema changes

This commit is contained in:
jo 2023-02-10 23:26:11 +01:00 committed by Kyle Robbertze
parent dabee61d9c
commit d68ae58854
1 changed files with 1 additions and 1 deletions

View File

@ -53,11 +53,11 @@ jobs:
git checkout $commit
make --quiet schema
git diff -- schema.yml
git add schema.yml
git diff-index --quiet HEAD -- || {
echo "ERROR: Schema is outdated for commit $commit"
git show --quiet
git diff -- schema.yml
exit 1
}
done