mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
add ci job to check if schema is up to date
This commit is contained in:
parent
4e6d6e4b3a
commit
f8651c22ff
5 changed files with 26 additions and 5 deletions
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
|
@ -91,3 +91,19 @@ jobs:
|
|||
instance: https://cache.icewind.me
|
||||
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||
- run: nix build .#test
|
||||
|
||||
check-schema:
|
||||
runs-on: ubuntu-latest
|
||||
needs: check
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v25
|
||||
- uses: icewind1991/attic-action@v1
|
||||
with:
|
||||
name: ci
|
||||
instance: https://cache.icewind.me
|
||||
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||
- run: nix run .#demostf-parser-schema > schema.json
|
||||
- run: |
|
||||
git diff
|
||||
git diff-index --quiet HEAD --
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue