Skip to content

Commit

Permalink
page: Add a workflow to lint events and members json
Browse files Browse the repository at this point in the history
Signed-off-by: Saalim Quadri <[email protected]>
  • Loading branch information
danascape committed Oct 31, 2023
1 parent 6ed6fd0 commit 4ab5b11
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/jsonLint.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions files
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/core.json
src/events.json

0 comments on commit 4ab5b11

Please sign in to comment.