From b367d1cc5d574654a75fea0ae61088283f60aa05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Wed, 1 Feb 2023 12:59:47 +0100 Subject: [PATCH] fixed black version mismatch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- .github/workflows/CI.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index cc5e229..3b97551 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,15 +20,6 @@ permissions: contents: write jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: psf/black@stable - with: - options: "--check -l 119" - src: "." - audit: runs-on: ubuntu-latest @@ -53,8 +44,14 @@ jobs: - name: Audit dependencies run: pip-audit --ignore-vuln PYSEC-2022-42969 --ignore-vuln PYSEC-2022-203 --ignore-vuln GHSA-r9hx-vwmv-q579 + - name: Install black + run: pip install black + + - name: Lint - black + run: black --check -l 119 . + test: - needs: lint + needs: audit runs-on: ubuntu-latest env: PLANETMINT_DATABASE_BACKEND: tarantool_db