Skip to content

latest pr

latest pr #1551

Workflow file for this run

name: check-schemas
on:
push:
branches:
- main
- latest
pull_request:
# If new code is pushed to a PR branch, then cancel in progress workflows for that PR.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
defaults:
run:
shell: bash -xe {0}
jobs:
check-build-verify-schema:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- uses: nixbuild/nix-quick-install-action@9f63be77f412a248c9d9a65a4c82cf066cdf8f0c
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Populate the nix store
run: nix develop --command echo
- name: Run `update-schemas.sh`
run: |
nix develop --command scripts/update-schemas.sh
if [ -n "$(git status --porcelain assets/schemas/)" ]; then
echo "::error::Uncommitted changes after running 'update-schemas.sh'"
exit 1
fi