Files
crystall-punk-14/.github/workflows/validate-rsis.yml
Paul Ritter f69fb1d9ce Validates yaml schemas from engine (#10133)
Co-authored-by: Paul Ritter <ritter.paul1@gmail.com>
2022-08-13 22:46:53 -07:00

23 lines
591 B
YAML

name: RSI Validator
on:
pull_request:
paths:
- '**.rsi/**'
jobs:
validate_rsis:
name: Validate RSIs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Submodule
run: git submodule update --init
- name: Pull engine updates
uses: space-wizards/submodule-dependency@v0.1.5
- name: Parse files
uses: space-wizards/json-schema-validator@v1.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
json_schema: RobustToolbox/Schemas/rsi.json
json_path_pattern: .*meta.json$