Skip to content

Commit

Permalink
chore: add JSON validation workflow to CI (#2567)
Browse files Browse the repository at this point in the history
* chore: add JSON validation workflow to CI

* chore: test on all actions

* chore: test only on JSON file
  • Loading branch information
wa0x6e authored Feb 1, 2024
1 parent 1a39649 commit 6ac983c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/jsoncheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: JSON check

on:
push:
paths:
- '**.json'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: json-syntax-check
uses: limitusus/json-syntax-check@v2
with:
pattern: "\\.json$"

0 comments on commit 6ac983c

Please sign in to comment.