mirror of https://github.com/PCSX2/pcsx2.git
ci: Create GitHub action to validate GameDB when it's modified
This commit is contained in:
parent
ce0395947f
commit
109ca396b9
|
@ -0,0 +1,27 @@
|
|||
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"
|
Loading…
Reference in New Issue