https://dev.kronoz.win/r/marzneshin.git
1name: JSON check
2
3on:
4 push:
5 paths:
6 - '**.json'
7 pull_request:
8
9jobs:
10 test:
11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v3
14 - name: json-syntax-check
15 uses: limitusus/json-syntax-check@v2
16 with:
17 pattern: "\\.json$"
18 - name: JSON checks failed
19 if: failure()
20 run: echo "Some JSON files have failed the comprehensive syntax check. Please check the logs for details."