abouttreesummaryrefslogcommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJules Aguillon2025-02-04 17:17:46 +0100
committerJules Aguillon2025-02-04 17:17:46 +0100
commitaaf0a9a24999769a0bba9ec45968368ff0019012 (patch)
tree9e6d45a68aad341d05d814798682ef14c8772975 /.github
parentae9c2fa626309115d7cface25b656ecee5936fab (diff)
downloadunexpected-keyboard-aaf0a9a24999769a0bba9ec45968368ff0019012.tar.gz
unexpected-keyboard-aaf0a9a24999769a0bba9ec45968368ff0019012.zip
Improve the check_layout CI and output
Change the format of check_layout.output to avoid adding any logs for layouts that do not trigger any warning. Fix the check_layout CI, which was broken since check_layout.py was changed to take arguments.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check-layouts.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/check-layouts.yml b/.github/workflows/check-layouts.yml
index 49d85a2..004b1ae 100644
--- a/.github/workflows/check-layouts.yml
+++ b/.github/workflows/check-layouts.yml
@@ -13,7 +13,7 @@ jobs:
- 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'"
+ - name: "Run 'python3 gen_layouts.py' to update generated files"
run: git diff --exit-code
check-layouts:
name: check_layout.output
@@ -22,5 +22,5 @@ jobs:
- 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'"
+ - name: "Fix your layout accordingly or run 'python3 check_layout.py' to promote the warnings"
run: git diff --exit-code