Skip to content

Commit

Permalink
CI: Add lint of GameDB
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 25, 2024
1 parent 11fec7f commit a38d692
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/gamedb-lint.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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

0 comments on commit a38d692

Please sign in to comment.