mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-03 04:22:04 +08:00
b003a8b49b
Signed-off-by: szaimen <szaimen@e.mail.de>
18 lines
454 B
YAML
18 lines
454 B
YAML
name: Json Validator
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
psalm:
|
|
name: Json Validator
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
- name: Validate Json
|
|
run: |
|
|
sudo apt install python3-pip --no-install-recommends
|
|
sudo pip3 install json-spec
|
|
json validate --schema-file=php/containers-schema.json --document-file=php/containers.json
|