mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-05-19 12:44:24 +02:00
Initial action
This commit is contained in:
parent
dc330d4e25
commit
1e8264a020
12
.github/wokflows/github-actions.yml
vendored
Normal file
12
.github/wokflows/github-actions.yml
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
name: GitHub Actions Demo
|
||||
on: [push]
|
||||
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
|
5
tools/validate_json.py
Normal file
5
tools/validate_json.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
import json
|
||||
|
||||
json.load(open("./../web/atlas.json"))
|
||||
|
||||
print("JSON is valid")
|
Loading…
Reference in a new issue