Skip to content

Commit

Permalink
feat: assert whether generated and versioned schema are identical
Browse files Browse the repository at this point in the history
  • Loading branch information
raimundo-henriques committed Jun 6, 2024
1 parent 619a3b5 commit 650e09b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- name: Generate schema
- name: Test schema
run: |
cargo run
cargo run --release > schema.gen.json
# assert the generated and versioned file equal
diff ../schema/data-model-schema.json schema.gen.json

0 comments on commit 650e09b

Please sign in to comment.