mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 11:35:56 +08:00
66995c9c7b
Signed-off-by: szaimen <szaimen@e.mail.de>
20 lines
483 B
YAML
20 lines
483 B
YAML
name: Json Validator
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
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
|