ci: always print diff when schema changes
This commit is contained in:
parent
dabee61d9c
commit
d68ae58854
1 changed files with 1 additions and 1 deletions
2
.github/workflows/api-schema.yml
vendored
2
.github/workflows/api-schema.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue