From 640042f2a460cb68ef1ecdf86442253a86484054 Mon Sep 17 00:00:00 2001 From: David Bonnes Date: Sun, 15 Dec 2024 10:01:43 +0000 Subject: [PATCH] tweak workflow --- .github/workflows/check-lint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-lint.yml b/.github/workflows/check-lint.yml index f041f94..0497c1d 100644 --- a/.github/workflows/check-lint.yml +++ b/.github/workflows/check-lint.yml @@ -48,7 +48,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - grep 'ruff' requirements_dev.txt | xargs python -m pip install + grep -E "^\s*ruff" requirements_dev.txt > requirements_ruff.tmp + python -m pip install -r requirements_ruff.tmp - name: Check with ruff run: ruff check --output-format=github .