From 4be44a370e9fab55ed7686b5fbdf6a05a00cdbfc Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sat, 28 Oct 2023 20:01:40 +0200 Subject: [PATCH] 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. --- .github/workflows/fluent_linter.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/fluent_linter.yml b/.github/workflows/fluent_linter.yml index ef823a6da..0be98bf87 100644 --- a/.github/workflows/fluent_linter.yml +++ b/.github/workflows/fluent_linter.yml @@ -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