diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2024-01-09 20:04:14 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2024-01-12 12:32:05 +0100 |
commit | 0d01cc70f13b9e487e7e932c3c78f8b4a3b05aeb (patch) | |
tree | 2afb1f821199f5efdecca5f8c0030a8d161ecec8 /ci | |
parent | cc1937215ee5beb89c0749ad9f411d05c7446878 (diff) |
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: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1322>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/checks_setup.sh | 5 |
1 files changed, 1 insertions, 4 deletions
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 |