From 0d01cc70f13b9e487e7e932c3c78f8b4a3b05aeb Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Tue, 9 Jan 2024 20:04:14 +0100 Subject: ci: cache pre-commit deps in runners Rather than creating a single docker image reused by all users that needs to be manually updated in case a pre-commit dependency changes, cache pre-commit dependencies in each runner. Fix #460 Part-of: --- ci/checks_setup.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ci') diff --git a/ci/checks_setup.sh b/ci/checks_setup.sh index 68526acb..1dcb56a6 100755 --- a/ci/checks_setup.sh +++ b/ci/checks_setup.sh @@ -2,7 +2,4 @@ set -e -python3 -m pip install pre-commit -echo "Pre-commit home": $PRE_COMMIT_HOME -mkdir $PRE_COMMIT_HOME -pre-commit install-hooks \ No newline at end of file +python3 -m pip install pre-commit==3.6.0 \ No newline at end of file -- cgit v1.2.3