We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37b9eb8 + a9ffda6 commit 640a7cdCopy full SHA for 640a7cd
.github/workflows/test.yml
@@ -44,3 +44,24 @@ jobs:
44
uses: dtolnay/rust-toolchain@stable
45
- name: Run Tests
46
run: cargo test
47
+
48
+ check-schema:
49
+ name: Check schema generation
50
+ runs-on: ubuntu-latest
51
+ timeout-minutes: 10
52
+ steps:
53
+ - uses: actions/checkout@v4
54
+ - uses: dtolnay/rust-toolchain@stable
55
+ id: toolchain
56
+ - name: Check schema
57
+ run: |
58
+ # Generate schema
59
+ cargo run --bin schema_json_gen
60
+ # Check for uncommitted changes
61
+ if [[ -n "$(git status --porcelain)" ]]; then
62
+ echo '❌ Uncommitted changes detected after running `cargo run --bin schema_json_gen`:'
63
+ git --no-pager diff
64
+ exit 1
65
+ else
66
+ echo "✅ No changes — schema is up to date."
67
+ fi
0 commit comments