diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 8bd38da5..002e57bd 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -10,6 +10,15 @@ jobs: - name: Install uv run: | curl -LsSf https://astral.sh/uv/install.sh | sh + - name: Validate Schemas + run: | + errors=0 + for schema in `find stackinator/schema -type f -name "*.json"`; do + echo $schema + uvx check-jsonschema --check-metaschema $schema + errors=$(($errors + $?)) + done + exit $errors - name: Generic Unittests run: | ./test_stackinator.py