Skip to content

Translate appetite.po, index.po, interactive.po, whatnow.po (#17) #152

Translate appetite.po, index.po, interactive.po, whatnow.po (#17)

Translate appetite.po, index.po, interactive.po, whatnow.po (#17) #152

Workflow file for this run

name: Lint Check
on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- '*'
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install sphinx-lint and polib
run: pip install sphinx-lint polib
- name: Install gettext tools
run: sudo apt-get install -y gettext
- name: Setup problem matcher
uses: rffontenelle/sphinx-lint-problem-matcher@v1.0.0
- name: Run sphinx-lint
run: sphinx-lint
continue-on-error: true
- name: Check PO file validity
run: find . -name '*.po' -exec msgfmt --check {} \;
- name: Check markup preservation
run: python3 scripts/check_markup.py .