Skip to content

Commit

Permalink
Install latest allowed pre-commit (#135)
Browse files Browse the repository at this point in the history
Instead of retrieving the pre-commit version from the requirements file.
  • Loading branch information
CasperWA authored Feb 15, 2023
1 parent 492429a commit 1d396e1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ci_dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 1d396e1

Please sign in to comment.