mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-11-14 22:12:22 +01:00
e0ed34cdda
CI will be triggered when web/atlas.json is edited Name change also because clarity and why not eh
18 lines
No EOL
463 B
YAML
18 lines
No EOL
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 |