diff --git a/.github/workflows/jsonLint.yml b/.github/workflows/jsonLint.yml new file mode 100644 index 0000000..ed8f067 --- /dev/null +++ b/.github/workflows/jsonLint.yml @@ -0,0 +1,14 @@ +name: PBCI + +on: [push, pull_request] + +jobs: + jsonLint: + name: JsonLint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Run jsonlint. + run: | + sudo apt install python3-demjson && \ + while read -r script; do jsonlint $script; done < files diff --git a/files b/files new file mode 100644 index 0000000..cd52c9b --- /dev/null +++ b/files @@ -0,0 +1,2 @@ +src/core.json +src/events.json