mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-28 02:03:27 +01:00
dac702ad0b
* CI: Run 'check_layout.py' Ensures that 'check_layout.output' is not outdated. Also, update it. * CI: Check new store descriptions When a store description is added, 'python3 sync_translations.py' leaves an untracked file that is not checked. This makes sure that untracked store descriptions are noticed in CI.
27 lines
709 B
YAML
27 lines
709 B
YAML
name: Check layouts
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
gen-layouts:
|
|
name: Generated files
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v4
|
|
- run: python3 gen_layouts.py
|
|
- name: "Check that the generated 'layouts.xml' is uptodate, otherwise run 'python3 gen_layouts.py'"
|
|
run: git diff --exit-code
|
|
check-layouts:
|
|
name: check_layout.output
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v4
|
|
- run: python3 check_layout.py
|
|
- name: "Check that the generated 'check_layout.output' is uptodate, otherwise run 'python3 check_layout.py'"
|
|
run: git diff --exit-code
|