From a5c1126a18d1d98c9dadfc67bd53bdb6916cab97 Mon Sep 17 00:00:00 2001 From: Konstantinos Smanis Date: Sat, 16 Dec 2023 17:02:19 +0200 Subject: [PATCH] ci: fix gitlint installation Pin pip until https://github.com/pypa/pip/issues/12372 is fixed. --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 63e8de2..d5c6584 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,6 +67,8 @@ jobs: key: mypy-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}-${{ github.sha }} restore-keys: mypy-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}- - name: Run gitlint + env: + VIRTUALENV_PIP: 23.2.1 run: poetry run pre-commit run --color=always --hook-stage manual gitlint-ci - name: Run pre-commit run: poetry run pre-commit run --all-files --color=always --show-diff-on-failure