Use new validate-rsis for workflow (#12997)
* Use new validate-rsis for workflow * A * Add python deps * --ignore-installed * Make it only work on RSI changes again. * Fix a bunch of RSIs.
This commit is contained in:
committed by
GitHub
parent
0b32ca16b5
commit
14f8b4e6d5
15
.github/workflows/validate-rsis.yml
vendored
15
.github/workflows/validate-rsis.yml
vendored
@@ -1,9 +1,10 @@
|
||||
name: RSI Validator
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.rsi/**'
|
||||
|
||||
jobs:
|
||||
validate_rsis:
|
||||
name: Validate RSIs
|
||||
@@ -14,9 +15,9 @@ jobs:
|
||||
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$
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
pip3 install --ignore-installed --user pillow jsonschema
|
||||
- name: Validate RSIs
|
||||
run: |
|
||||
python3 RobustToolbox/Schemas/validate_rsis.py Resources/
|
||||
|
||||
Reference in New Issue
Block a user