Skip to content

Update to Python 3.11.7 #522

Update to Python 3.11.7

Update to Python 3.11.7 #522

name: Lint Pending Translations
on:
push:
paths:
- 'frontend/pendingTranslations.ftl'
- '.github/workflows/lint-pending-strings.yml'
- 'privaterelay/pending_locales/en/pending.ftl'
branches: [ '*' ]
workflow_dispatch:
jobs:
linter:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Set up Python 3
uses: actions/setup-python@v5.0.0
with:
python-version: '3.11'
cache: 'pip'
- name: Install Python dependencies
run: |
pip install -r privaterelay/locales/.github/requirements.txt
- name: Lint frontend pending translations
run: |
moz-fluent-lint frontend --config privaterelay/locales/.github/linter_config.yml
- name: Lint backend pending translations
run: |
moz-fluent-lint privaterelay/pending_locales --config privaterelay/locales/.github/linter_config.yml