From 92b0d0f8332f5006f9e242d33809cd2c7c2248ea Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Wed, 14 Jun 2023 08:26:15 +1000 Subject: Fixes 1861 (#1870) * Fix translation files * Add github action * Update * Update --------- Co-authored-by: Daniel Girtler --- .github/workflows/translation-check.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/translation-check.yaml (limited to '.github') 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 -- cgit v1.2.3-70-g09d2