Initial action

This commit is contained in:
Alex Tsernoh 2022-04-05 11:53:53 +01:00
parent dc330d4e25
commit 1e8264a020
2 changed files with 17 additions and 0 deletions

12
.github/wokflows/github-actions.yml vendored Normal file
View 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
View file

@ -0,0 +1,5 @@
import json
json.load(open("./../web/atlas.json"))
print("JSON is valid")