2023-08-03 17:16:06 +02:00
|
|
|
name: Check translations
|
|
|
|
|
|
|
|
# Drop permissions to minimum for security
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check_translations:
|
|
|
|
name: Check translations
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Set up Python 3.11
|
|
|
|
uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: 3.11
|
|
|
|
|
|
|
|
- name: Install runtime dependencies
|
|
|
|
run: |
|
|
|
|
python3 -m pip install --upgrade pip setuptools wheel
|
|
|
|
python3 -m pip install polib
|
2024-08-04 21:27:28 +02:00
|
|
|
sudo apt-get install -y gettext
|
2023-08-03 17:16:06 +02:00
|
|
|
|
|
|
|
- name: Check translations
|
|
|
|
run: |
|
|
|
|
python3 validate_po.py
|