mirror of
https://github.com/fankes/AndroidNotifyIconAdapt.git
synced 2025-09-04 09:45:46 +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
|
name: Validate NotifyIconsRule Json File
|
||||||
|
|
||||||
on: [pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- '**.json'
|
||||||
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
verify-json-validation:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- name: Validate JSON
|
- name: json-syntax-check
|
||||||
uses: docker://orrosenblatt/validate-json-action:latest
|
uses: limitusus/json-syntax-check@v1
|
||||||
env:
|
with:
|
||||||
INPUT_SCHEMA: /path/to/schema.json
|
pattern: "\\.json$"
|
||||||
INPUT_JSONS: /path/to/file.json,/path/to/another/file.json
|
|
Reference in New Issue
Block a user