Skip to content

Commit

Permalink
Improve consistency in the GitHub Actions workflow for the Fluent linter
Browse files Browse the repository at this point in the history
This commit tweaks the Fluent linter workflow to match the other
workflow files we have, so we make sure the steps have a newline between
them for better readability and align names and descriptions of steps
with how they are called in the other workflow files we have.
  • Loading branch information
timvandermeij committed Oct 28, 2023
1 parent 238f3e7 commit 4be44a3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 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.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
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

0 comments on commit 4be44a3

Please sign in to comment.