Skip to content

Commit

Permalink
Validate json against schema
Browse files Browse the repository at this point in the history
  • Loading branch information
APErebus authored Nov 12, 2024
1 parent 0fd33a3 commit 749ee03
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/test-deprecated-tags.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
name: Test deprecated versions latest tags
name: Test versions.json
on:
workflow_dispatch:
pull_request:
paths:
- versions.json
- versions.schema.json
- .github/workflows/test-deprecated-tags.yml

jobs:
validate_json:
name: Validate json against schema
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- run: pip install json-spec
- run: json validate --schema-file=versions.schema.json --document-file=versions.json

get_deprecated_tags:
name: Get deprecated version latest tags
runs-on: ubuntu-latest
Expand Down

0 comments on commit 749ee03

Please sign in to comment.