mirror of
https://github.com/fankes/AndroidNotifyIconAdapt.git
synced 2025-09-01 16:25:19 +08:00
Add json validate
This commit is contained in:
14
.github/workflows/validate.yml
vendored
Normal file
14
.github/workflows/validate.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
name: Validate JSONs
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
verify-json-validation:
|
||||
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
|
Reference in New Issue
Block a user