chore: validate fw.json syntax and target order (#6533)

This commit is contained in:
Peter Feerick
2025-08-21 11:48:47 +10:00
committed by GitHub
parent 630ec003be
commit fc691911ba
4 changed files with 335 additions and 3 deletions
+2
View File
@@ -14,6 +14,7 @@ on:
- '.github/workflows/macosx_cpn.yml'
- '.github/workflows/win-cpn-32.yml'
- '.github/workflows/win_cpn-64.yml'
- '.github/workflows/validate_json.yml'
- 'companion/**'
- '.gitpod.yml'
- '.devcontainer/**'
@@ -29,6 +30,7 @@ on:
- '.github/workflows/macosx_cpn.yml'
- '.github/workflows/win-cpn-32.yml'
- '.github/workflows/win_cpn-64.yml'
- '.github/workflows/validate_fw_json.yml'
- 'companion/**'
- '.gitpod.yml'
- '.devcontainer/**'
+23
View File
@@ -0,0 +1,23 @@
---
name: Validate fw.json
on:
push:
paths:
- 'fw.json'
pull_request:
paths:
- 'fw.json'
workflow_dispatch:
jobs:
json-validate:
name: Validate fw.json file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Validate fw.json syntax and schema
run: python3 tools/validate-json.py --syntax-only
- name: Validate fw.json alphabetical order
run: python3 tools/validate-json.py --order-only