GHActions: Add yamllint pass to gamedb lint

ajv errors are completely useless
This commit is contained in:
TellowKrinkle 2023-09-09 00:38:24 -05:00 committed by TellowKrinkle
parent 485f8a6d3a
commit a28328dd96
2 changed files with 10 additions and 3 deletions

View File

@ -20,12 +20,19 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Packages
run: |
npm install -g ajv-cli prettier
sudo apt-get -y install yamllint
- name: Validate YAML
run: |
yamllint -sd "{extends: relaxed, rules: {line-length: disable}}" ./bin/resources/GameIndex.yaml
- name: Validate Contents
run: |
npm install -g ajv-cli
ajv validate -s ./pcsx2/Docs/gamedb-schema.json --spec=draft2020 -d ./bin/resources/GameIndex.yaml
- name: Check Formatting
run: |
npm install -g prettier
prettier --check ./bin/resources/GameIndex.yaml

View File

@ -25988,7 +25988,7 @@ SLES-55520:
9E36E023:
content: |-
//Patched by kozarrov
//Fix Pause menu, some hud parts, etc.
//Fix Pause menu, some hud parts, etc.
patch=1,EE,0016ee38,word,3464fff0
patch=1,EE,0016ee58,word,3464fffc
SLES-55522: