1
0

validate-rsis.yml 657 B

1234567891011121314151617181920212223242526
  1. name: RSI Validator
  2. on:
  3. push:
  4. branches: [ master, staging, stable ]
  5. merge_group:
  6. pull_request:
  7. paths:
  8. - '**.rsi/**'
  9. jobs:
  10. validate_rsis:
  11. name: Validate RSIs
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: actions/checkout@v3.6.0
  15. - name: Setup Submodule
  16. run: git submodule update --init
  17. - name: Pull engine updates
  18. uses: space-wizards/submodule-dependency@v0.1.5
  19. - name: Install Python dependencies
  20. run: |
  21. pip3 install --ignore-installed --user pillow jsonschema
  22. - name: Validate RSIs
  23. run: |
  24. python3 RobustToolbox/Schemas/validate_rsis.py Resources/