Skip to content

Fix emote sounds error with reptilian's scream #251

Fix emote sounds error with reptilian's scream

Fix emote sounds error with reptilian's scream #251

name: Map file schema validator
on:
push:
branches: [ master, development, staging, trying ]
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
jobs:
yaml-schema-validation:
name: YAML map schema validator
if: github.actor != 'IanComradeBot' && github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.6.0
- name: Setup Submodule
run: git submodule update --init
# Exodus-Secrets-Start
- name: Setup secrets
env:
SSH_KEY: ${{ secrets.SECRETS_PRIVATE_KEY }}
if: ${{ env.SSH_KEY != '' }}
run: |
mkdir ~/.ssh
echo "${{ secrets.SECRETS_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo "HOST *" > ~/.ssh/config
echo "StrictHostKeyChecking no" >> ~/.ssh/config
git clone git@github.com:space-exodus/secrets.git Secrets
cp -R Secrets/Resources/Prototypes Resources/Prototypes/ExodusSecrets
cp -R Secrets/Resources/Locale Resources/Locale/ru-RU/exodus-secrets
cp -R Secrets/Resources/Textures Resources/Textures/ExodusSecrets
# Exodus-Secrets-End
- name: Pull engine updates
uses: space-wizards/submodule-dependency@v0.1.5
- uses: PaulRitter/yaml-schema-validator@v1
with:
schema: RobustToolbox/Schemas/mapfile.yml
path_pattern: .*Resources/Maps/.*
validators_path: RobustToolbox/Schemas/mapfile_validators.py
validators_requirements: RobustToolbox/Schemas/mapfile_requirements.txt