[CI] Ensure messages.pot stays updated #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: l10n pre-commit | |
on: | |
push: | |
pull_request: | |
jobs: | |
l10n-pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v5 | |
with: | |
submodules: true | |
- uses: actions/setup-python@v5.6.0 | |
with: | |
python-version: "3.x" | |
- name: Install l10n deps | |
run: pip install -r l10n/requirements-l10n.txt | |
- name: Install project | |
run: pip install -e . | |
- uses: pre-commit/action@v3.0.1 | |
with: | |
extra_args: extract_messages -a -v |