mirror of
https://github.com/fankes/AndroidNotifyIconAdapt.git
synced 2025-09-01 16:25:19 +08:00
Update validate.yml
This commit is contained in:
19
.github/workflows/validate.yml
vendored
19
.github/workflows/validate.yml
vendored
@@ -1,14 +1,17 @@
|
||||
name: Validate NotifyIconsRule Json File
|
||||
|
||||
on: [pull_request]
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**.json'
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
verify-json-validation:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Validate JSON
|
||||
uses: docker://orrosenblatt/validate-json-action:latest
|
||||
env:
|
||||
INPUT_SCHEMA: /path/to/schema.json
|
||||
INPUT_JSONS: /path/to/file.json,/path/to/another/file.json
|
||||
- uses: actions/checkout@v2
|
||||
- name: json-syntax-check
|
||||
uses: limitusus/json-syntax-check@v1
|
||||
with:
|
||||
pattern: "\\.json$"
|
Reference in New Issue
Block a user