Merge remote-tracking branch 'origin/main' into MNTOR-3007/add-purcha… #18678
Workflow file for this run
This file contains 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: Lint Reference Files | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
l10n-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- name: Install Python dependencies | |
run: | | |
pip install -r .github/requirements.txt | |
- name: Lint reference strings | |
run: | | |
moz-fluent-lint ./locales/en/ --config .github/linter_config.yml | |
- name: Lint pending strings | |
if: always() # This step should run even if the previous one fails | |
run: | | |
moz-fluent-lint ./locales-pending/ --config .github/linter_config.yml |