mirror of https://github.com/PCSX2/pcsx2.git
28 lines
548 B
YAML
28 lines
548 B
YAML
|
name: Validate GameDB
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
paths:
|
||
|
- "**/GameIndex.yaml"
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- master
|
||
|
paths:
|
||
|
- "**/GameIndex.yaml"
|
||
|
|
||
|
jobs:
|
||
|
lint:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout Repository
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Validate GameDB
|
||
|
env:
|
||
|
SCRIPT_DIR: "./.github/workflows/scripts/validation/lint-gamedb"
|
||
|
run: |
|
||
|
pip install -r "${SCRIPT_DIR}/requirements.txt"
|
||
|
python "${SCRIPT_DIR}/lint-gamedb.py"
|