chore: validate fw.json syntax and target order (#6533)
This commit is contained in:
@@ -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/**'
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user