Skip to content

Commit

Permalink
Check if files are regenerated (#2534)
Browse files Browse the repository at this point in the history
  • Loading branch information
fylyppo authored Mar 6, 2025
1 parent 1186c34 commit c785913
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/patrol-prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,11 @@ jobs:
if: success() || failure()
working-directory: ./packages/patrol/example
run: flutter pub get

- name: Check if files are regenerated from schema
if: success() || failure()
working-directory: .
run: |
git add .
./gen_from_schema
git diff --exit-code || (echo "Files are not regenerated from schema. Please run ./gen_from_schema locally and push changes" && exit 1)

0 comments on commit c785913

Please sign in to comment.