Skip to content

Commit 73340ae

Browse files
committed
Update validate.yml
1 parent a658507 commit 73340ae

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/validate.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: Validate NotifyIconsRule Json File
22

3-
on: [pull_request]
3+
on:
4+
push:
5+
paths:
6+
- '**.json'
7+
pull_request:
48

59
jobs:
6-
verify-json-validation:
10+
test:
711
runs-on: ubuntu-latest
812
steps:
9-
- uses: actions/checkout@v1
10-
- name: Validate JSON
11-
uses: docker://orrosenblatt/validate-json-action:latest
12-
env:
13-
INPUT_SCHEMA: /path/to/schema.json
14-
INPUT_JSONS: /path/to/file.json,/path/to/another/file.json
13+
- uses: actions/checkout@v2
14+
- name: json-syntax-check
15+
uses: limitusus/json-syntax-check@v1
16+
with:
17+
pattern: "\\.json$"

0 commit comments

Comments
 (0)