mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #17198 from timvandermeij/python-3.12-lint
Update the GitHub Actions workflow for the Fluent linter
This commit is contained in:
commit
973cbb000b
1 changed files with 12 additions and 7 deletions
19
.github/workflows/fluent_linter.yml
vendored
19
.github/workflows/fluent_linter.yml
vendored
|
@ -19,19 +19,24 @@ permissions:
|
|||
contents: read
|
||||
|
||||
jobs:
|
||||
linter:
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Python 3
|
||||
|
||||
- name: Use Python 3.12
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
python-version: '3.12'
|
||||
cache: 'pip'
|
||||
- name: Install Python dependencies
|
||||
|
||||
- name: Install Fluent dependencies
|
||||
run: |
|
||||
pip install -r .github/requirements.txt
|
||||
- name: Lint reference
|
||||
|
||||
- name: Lint Fluent reference files
|
||||
run: |
|
||||
moz-fluent-lint ./l10n/en-US --config .github/linter_config.yml
|
||||
moz-fluent-lint ./l10n/en-US --config .github/fluent_linter_config.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue