Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,8 @@ jobs:
uses: pre-commit/action@v2.0.0
- name: Generate APIs
run: bash scripts/update_api.sh
- name: Verify API is up to date
run: |
if [[ -n $(git status -s) ]]; then
echo "ERROR: generated code differ from the current sources:"
git diff
exit 1
fi
- name: Verify generated API is up to date
run: git diff --exit-code
build:
name: Build
timeout-minutes: 30
Expand Down
1 change: 1 addition & 0 deletions scripts/update_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function update_api {
echo "Regenerated APIs"
else
echo "Exited due to errors"
exit 1
fi
}

Expand Down