Skip to content

Commit

Permalink
Merge pull request mozilla#17198 from timvandermeij/python-3.12-lint
Browse files Browse the repository at this point in the history
Update the GitHub Actions workflow for the Fluent linter
  • Loading branch information
timvandermeij committed Oct 28, 2023
2 parents 238f3e7 + 4845d35 commit 973cbb0
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/fluent_linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 973cbb0

Please sign in to comment.