Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows/translation-check.yaml
blob: 11418d31db141dde073f44e7f5c9bcff40592232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
on:
    push:
        paths:
        - 'archinstall/locales/**'
    pull_request:
        paths:
        - 'archinstall/locales/**'
name: Verify local_generate script was run on translation changes
jobs:
    translation-check:
        runs-on: ubuntu-latest
        container:
            image: archlinux:latest
        steps:
            - uses: actions/checkout@v4
            - 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