Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2023-06-14 08:26:15 +1000
committerGitHub <noreply@github.com>2023-06-14 00:26:15 +0200
commit92b0d0f8332f5006f9e242d33809cd2c7c2248ea (patch)
tree544b4d466cbf77140b7769fbead78a2e0872728d /.github/workflows
parentc8bb8d7a0c056979d2a86cacf78f5cd82faf3817 (diff)
Fixes 1861 (#1870)
* Fix translation files * Add github action * Update * Update --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/translation-check.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/translation-check.yaml b/.github/workflows/translation-check.yaml
new file mode 100644
index 00000000..18a3b5fc
--- /dev/null
+++ b/.github/workflows/translation-check.yaml
@@ -0,0 +1,17 @@
+on:
+ [ push, pull_request ]:
+ paths:
+ - 'archinstall/locales/**'
+name: translation file checks
+jobs:
+ translation-check:
+ runs-on: ubuntu-latest
+ container:
+ image: archlinux:latest
+ steps:
+ - uses: actions/checkout@v3
+ - run: pacman --noconfirm -Syu python python-pip
+ - run: python -m pip install --upgrade pip
+ - run: cd archinstall/locales
+ - run: bash locales_generator.sh
+ - run: git diff --name-only