Skip to content

Commit 3ae3f8c

Browse files
authored
Merge pull request #64 from RimSort/ci-validate-json
ci: Add a workflow to do a basic JSON syntax check
2 parents 5e37055 + 23e27f9 commit 3ae3f8c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/qa.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: QA
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
validate-json:
11+
name: Validate JSON syntax
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
15+
permissions:
16+
contents: read
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v6
21+
22+
- name: Validate JSON syntax
23+
run: python -m json.tool communityRules.json > /dev/null

0 commit comments

Comments
 (0)