We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a658507 commit 73340aeCopy full SHA for 73340ae
1 file changed
.github/workflows/validate.yml
@@ -1,14 +1,17 @@
1
name: Validate NotifyIconsRule Json File
2
3
-on: [pull_request]
+on:
4
+ push:
5
+ paths:
6
+ - '**.json'
7
+ pull_request:
8
9
jobs:
- verify-json-validation:
10
+ test:
11
runs-on: ubuntu-latest
12
steps:
- - uses: actions/checkout@v1
- - name: Validate JSON
- uses: docker://orrosenblatt/validate-json-action:latest
- env:
13
- INPUT_SCHEMA: /path/to/schema.json
14
- INPUT_JSONS: /path/to/file.json,/path/to/another/file.json
+ - uses: actions/checkout@v2
+ - name: json-syntax-check
15
+ uses: limitusus/json-syntax-check@v1
16
+ with:
17
+ pattern: "\\.json$"
0 commit comments