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
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…
x
Reference in New Issue
Block a user