From dac702ad0b1332cc549aeb0c620f72cb4c4a4a1b Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 18 Feb 2024 17:55:41 +0100 Subject: CI: Improve layout and store description checks (#565) * 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.--- .github/workflows/check-translations.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows/check-translations.yml') diff --git a/.github/workflows/check-translations.yml b/.github/workflows/check-translations.yml index c06ca23..db30a29 100644 --- a/.github/workflows/check-translations.yml +++ b/.github/workflows/check-translations.yml @@ -12,5 +12,5 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 - run: python3 sync_translations.py - - name: Check that strings files are uptodate, run python3 sync_translations.py otherwise - run: git diff --exit-code + - name: "Check that strings files are uptodate, otherwise run 'python3 sync_translations.py'" + run: git add -N . && git diff --exit-code -- cgit v1.2.3