mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 23:25:41 +00:00
CI: Add lint of GameDB
This commit is contained in:
parent
4f2e60af2a
commit
5e2bd6e0c2
33
.github/workflows/gamedb-lint.yml
vendored
Normal file
33
.github/workflows/gamedb-lint.yml
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
name: GameDB Lint
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'data/resources/gamedb.json'
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- dev
|
||||
paths:
|
||||
- 'data/resources/gamedb.json'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
gamedb-lint:
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Packages
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install python3-demjson
|
||||
|
||||
- name: Check GameDB
|
||||
shell: bash
|
||||
run: |
|
||||
jsonlint -s data/resources/gamedb.json
|
Loading…
Reference in a new issue