Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows/translation-check.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/translation-check.yaml')
-rw-r--r--.github/workflows/translation-check.yaml17
1 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/translation-check.yaml b/.github/workflows/translation-check.yaml
index 43f114ac..11418d31 100644
--- a/.github/workflows/translation-check.yaml
+++ b/.github/workflows/translation-check.yaml
@@ -5,7 +5,7 @@ on:
pull_request:
paths:
- 'archinstall/locales/**'
-name: translation file checks
+name: Verify local_generate script was run on translation changes
jobs:
translation-check:
runs-on: ubuntu-latest
@@ -13,10 +13,11 @@ jobs:
image: archlinux:latest
steps:
- uses: actions/checkout@v4
- - run: pacman --noconfirm -Syu python
- - run: cd archinstall/locales
- - run: pwd
- - run: ls -l
- - run: bash locales_generator.sh
- - run: git diff --name-only
- - run: ls
+ - run: pacman --noconfirm -Syu python git diffutils
+ - run: |
+ cd ..
+ cp -r archinstall archinstall_orig
+ cd archinstall/archinstall/locales
+ bash locales_generator.sh
+ cd ../../..
+ git diff --no-index --name-only archinstall_orig archinstall