mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-21 15:06:50 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
25 lines
592 B
YAML
25 lines
592 B
YAML
name: Json Validator
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '**.json'
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**.json'
|
|
|
|
jobs:
|
|
json-validator:
|
|
name: Json Validator
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
- name: Validate Json
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install python3-pip -y --no-install-recommends
|
|
sudo pip3 install json-spec
|
|
json validate --schema-file=php/containers-schema.json --document-file=php/containers.json
|