diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/check-layouts.yml | 17 | ||||
| -rw-r--r-- | .github/workflows/check-translations.yml | 4 |
2 files changed, 14 insertions, 7 deletions
diff --git a/.github/workflows/check-layouts.yml b/.github/workflows/check-layouts.yml index d37af40..49d85a2 100644 --- a/.github/workflows/check-layouts.yml +++ b/.github/workflows/check-layouts.yml @@ -1,19 +1,26 @@ name: Check layouts -# Runs 'gen_layouts.py' and checks that the generated file were uptodate. -# This doesn't run 'check_layout.py'. - on: workflow_dispatch: push: pull_request: jobs: - check-layouts: + 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, run python3 gen_layouts.py otherwise + - 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 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 |
