Skip to content

Commit

Permalink
Validate schema
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Sep 5, 2024
1 parent 48bc180 commit a80ed33
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,19 @@ name: build
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@master

- name: Validate schema
run: |
python -m pip install check-jsonschema
check-jsonschema --check-metaschema schemas/sogis-mysoch-auth.json
build:
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps:
Expand Down

0 comments on commit a80ed33

Please sign in to comment.