Skip to content

Bump compatible dependencies #991

Bump compatible dependencies

Bump compatible dependencies #991

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: nixbuild/nix-quick-install-action@2c9db80fb984ceb1bcaa77cdda3fdf8cfba92035
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Populate the nix store
run: nix develop --command echo
- name: Run `update-toml-schema.sh`
run: |
nix develop --command scripts/update-toml-schema.sh
if [ -n "$(git status --porcelain assets/toml/)" ]; then
echo "::error::Uncommitted changes after running 'update-toml-schema.sh'"
exit 1
fi
- name: Run `update-openapi-schema.sh`
run: |
nix develop --command scripts/update-openapi-schema.sh
if [ -n "$(git status --porcelain)" ]; then
echo "::error::Uncommitted changes after running 'update-openapi-schema.sh'"
exit 1
fi
- name: Run `update-db-schema.sh`
run: |
nix develop --command scripts/update-db-schema.sh
if [ -n "$(git status --porcelain)" ]; then
echo "::error::Uncommitted changes after running 'update-db-schema.sh'"
exit 1
fi