From ebeb8714a48af8c8ff1515d67bb65bc40533cb0e Mon Sep 17 00:00:00 2001 From: Casper Welzel Andersen Date: Wed, 8 Feb 2023 10:04:08 +0100 Subject: [PATCH] Install latest allowed pre-commit Instead of retrieving the pre-commit version from the requirements file. --- .github/workflows/ci_dependabot.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/ci_dependabot.yml b/.github/workflows/ci_dependabot.yml index 3be226c..ea687a1 100644 --- a/.github/workflows/ci_dependabot.yml +++ b/.github/workflows/ci_dependabot.yml @@ -33,14 +33,7 @@ jobs: run: | python -m pip install -U pip pip install -U setuptools wheel - - while IFS="" read -r line || [ -n "${line}" ]; do - if [[ "${line}" =~ ^pre-commit.*$ ]]; then - pre_commit="${line}" - fi - done < dic2owl/requirements_dev.txt - - pip install ${pre_commit} + pip install pre-commit - name: Set up git user info run: |