Skip to content

Надо

Надо #2444

Workflow file for this run

name: RSI Validator
on:
push:
branches: [ master, staging, stable ]
merge_group:
pull_request:
paths:
- '**.rsi/**'
jobs:
validate_rsis:
name: Validate RSIs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Setup Submodule
run: git submodule update --init
- name: Pull engine updates
uses: space-wizards/submodule-dependency@v0.1.5
- name: Install Python dependencies
run: |
pip3 install --ignore-installed --user pillow jsonschema
# DS14-custom-rsi-schema-start
- name: Replace schema file
run: |
cp .github/rsi-schema.json RobustToolbox/Schemas/rsi.json
# DS14-custom-rsi-schema-end
- name: Validate RSIs
run: |
python3 RobustToolbox/Schemas/validate_rsis.py Resources/