Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Corvax Resprites

Corvax Resprites #77

name: Map Prototype Checker
on:
pull_request:
branches: [ "master" ]
paths:
# Entity pathspecs - If any of these change (i.e. suffix changes etc), this check should run.
- "Resources/Prototypes/Entities/**/*.yml"
- "Resources/Prototypes/_NF/Entities/**/*.yml"
- "Resources/Prototypes/Nyanotrasen/Entities/**/*.yml"
- "Resources/Prototypes/_Nyano/Entities/**/*.yml"
- "Resources/Prototypes/DeltaV/Entities/**/*.yml"
# Map pathspecs - If any maps are changed, this should run.
- "Resources/Maps/**/*.yml"
# Also the mapchecker itself
- ".github/mapchecker/**"
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r .github/mapchecker/requirements.txt
- name: Run mapchecker
run: |
python3 .github/mapchecker/mapchecker.py