Skip to content

Add endpoind field to linked_spaces, rename url field to website (#92) #116

Add endpoind field to linked_spaces, rename url field to website (#92)

Add endpoind field to linked_spaces, rename url field to website (#92) #116

name: Validate formatting
on:
pull_request:
push:
branches:
- master
jobs:
validate-json-schema:
name: v${{ matrix.schema }} schema
runs-on: ubuntu-latest
strategy:
matrix:
schema: [12, 13, 14, 15-draft]
steps:
- uses: actions/checkout@v4
- name: Reformat JSON with jq
run: jq . -M --indent 2 < ${{ matrix.schema }}.json > ${{ matrix.schema }}-formatted.json
- name: Check for differences
run: diff ${{ matrix.schema }}.json ${{ matrix.schema }}-formatted.json && echo "No differences found!"