23 lines
591 B
YAML
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$
|