Improve consistency in the GitHub Actions workflow for the Fluent linter
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.
This commit is contained in:
parent
238f3e728f
commit
4be44a370e
15
.github/workflows/fluent_linter.yml
vendored
15
.github/workflows/fluent_linter.yml
vendored
@ -19,19 +19,24 @@ permissions:
|
|||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linter:
|
lint:
|
||||||
|
name: Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up Python 3
|
|
||||||
|
- name: Use Python 3.10
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
- name: Install Python dependencies
|
|
||||||
|
- name: Install Fluent dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r .github/requirements.txt
|
pip install -r .github/requirements.txt
|
||||||
- name: Lint reference
|
|
||||||
|
- name: Lint Fluent reference files
|
||||||
run: |
|
run: |
|
||||||
moz-fluent-lint ./l10n/en-US --config .github/linter_config.yml
|
moz-fluent-lint ./l10n/en-US --config .github/linter_config.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user