Files
edgetx-gx12/.github/workflows/validate_fw_json.yml
T
Peter Feerick a4e3275ef3 chore(ci): update action to NodeJS 24 versions
NodeJS 20 is EOL in April, so Github is starting to warn about NodeJS 20 Actions prior to phassing out in June.
2026-03-16 08:44:32 +00:00

32 lines
605 B
YAML

---
name: Validate fw.json
on:
push:
branches:
- 'main'
- '[0-9]+.[0-9]+'
tags:
- v*
paths:
- 'fw.json'
pull_request:
branches:
- 'main'
- '[0-9]+.[0-9]+'
paths:
- 'fw.json'
workflow_dispatch:
jobs:
json-validate:
name: Validate fw.json file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- 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