mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-08-21 18:46:04 +02:00
CI will be triggered when web/atlas.json is edited Name change also because clarity and why not eh
18 lines
463 B
YAML
18 lines
463 B
YAML
name: Validate JSON
|
|
on:
|
|
push:
|
|
paths:
|
|
- web/atlas.json
|
|
pull_request:
|
|
paths:
|
|
- web/atlas.json
|
|
jobs:
|
|
Validate-JSON:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- name: Validate JSON
|
|
run: |
|
|
chmod +x ${{ github.workspace }}/tools/validate_json.py
|
|
python3 ${{ github.workspace }}/tools/validate_json.py ${{ github.workspace }}/web/atlas.json |