Verified Commit 97a5d1f4 authored by Huste, Tobias's avatar Huste, Tobias
Browse files

Improve caching in GitLab CI

* Make sure different caches are used if dependencies change
* Make sure different caches are used if the Python version changes
parent e7947c8a
Pipeline #151747 passed with stages
in 11 minutes and 5 seconds
......@@ -25,9 +25,12 @@ variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
key: poetry
paths:
- .cache
- key:
files:
- "poetry.lock"
prefix: "$CI_JOB_IMAGE"
paths:
- ".cache"
codestyle:
stage: lint
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment