Skip to content

Add game: Sunset Myth #203

Add game: Sunset Myth

Add game: Sunset Myth #203

Workflow file for this run

name: pr-build-check
on:
pull_request:
branches: [ master ]
env:
ID: ${{ github.event.pull_request.head.label }}
SHA_ID: ${{ github.event.pull_request.head.sha }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
submodules: true
- name: install-dep
run: |
sudo apt -y update || true
sudo apt -y install git python3 python3-yaml python3-jinja2 python3-pip python3-setuptools python3-pil python3-bs4 python3-jsonschema webp
pip3 install --user git+https://github.com/FurryGamesIndex/python-markdown2
- name: lint
env:
BASE_REF: ${{ github.event.pull_request.base.sha }}
run: |
IFS=$'\n'
dfs="$(git diff --name-only --diff-filter=AMR "$BASE_REF")"
echo "$dfs" | grep '^games/[^/]*$' | while read -r i; do
./scripts/lint.sh game "$i"
done
echo "$dfs" | grep '^games/l10n/[^/]*$' | while read -r i; do
./scripts/lint.sh game-l10n "$i"
done