2021-07-07 01:23:04 +00:00
|
|
|
name: 📝 Validate GameDB
|
2021-05-05 00:33:54 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
2021-05-07 13:45:52 +00:00
|
|
|
- '**/GameIndex.yaml'
|
2021-05-05 00:33:54 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
2021-05-07 13:45:52 +00:00
|
|
|
- '**/GameIndex.yaml'
|
2021-05-05 00:33:54 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout Repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Validate GameDB
|
|
|
|
env:
|
2021-05-07 13:45:52 +00:00
|
|
|
SCRIPT_DIR: .github/workflows/scripts/validation/lint-gamedb
|
2021-05-05 00:33:54 +00:00
|
|
|
run: |
|
|
|
|
pip install -r "${SCRIPT_DIR}/requirements.txt"
|
|
|
|
python "${SCRIPT_DIR}/lint-gamedb.py"
|