mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
name: Hardware Metadata Validation
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- ".github/workflows/hardware-metadata-validation.yml"
|
|
- "schema/hardware-metadata.schema.json"
|
|
- "app/boards/**/*.zmk.yml"
|
|
- "app/scripts/west_commands/metadata.py"
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/hardware-metadata-validation.yml"
|
|
- "schema/hardware-metadata.schema.json"
|
|
- "app/boards/**/*.zmk.yml"
|
|
- "app/scripts/west_commands/metadata.py"
|
|
|
|
jobs:
|
|
validate-metadata:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: docker.io/zmkfirmware/zmk-dev-arm:4.1
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: Install dependencies
|
|
run: pip install --break-system-packages -r app/scripts/requirements.txt
|
|
- name: West init
|
|
run: west init -l app
|
|
- name: Update modules (west update)
|
|
run: west update
|
|
- name: Export Zephyr CMake package (west zephyr-export)
|
|
run: west zephyr-export
|
|
- name: Validate Hardware Metadata
|
|
working-directory: app
|
|
run: west metadata check
|