diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index b5c148acab32be..24a4813c259d79 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -36,16 +36,14 @@ jobs: - name: Ruff check if: steps.changed-files.outputs.any_changed == 'true' - run: poetry run -C api ruff check ./api + run: | + poetry run -C api ruff check ./api + poetry run -C api ruff format --check ./api - name: Dotenv check if: steps.changed-files.outputs.any_changed == 'true' run: poetry run -C api dotenv-linter ./api/.env.example ./web/.env.example - - name: Ruff formatter check - if: steps.changed-files.outputs.any_changed == 'true' - run: poetry run -C api ruff format --check ./api - - name: Lint hints if: failure() run: echo "Please run 'dev/reformat' to fix the fixable linting errors."