Skip to content

Commit

Permalink
Fix cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Mar 8, 2022
1 parent 6289a70 commit 98244cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ stages:
- test
- finalize

# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables:
# Change cache dirs to be inside the project (can only cache local items)
PIP_CACHE_DIR: $CI_PROJECT_DIR/.cache/pip
PIPX_HOME: $CI_PROJECT_DIR/.cache/pipx
PRE_COMMIT_HOME: $CI_PROJECT_DIR/.cache/pre-commit
Expand All @@ -25,6 +24,7 @@ workflow:
CI_PULL_REQUEST: $CI_MERGE_REQUEST_IID

cache:
key: pip-pipx-pre-commit-$CI_JOB_IMAGE
paths:
- .cache/pip
- .cache/pipx
Expand Down

0 comments on commit 98244cc

Please sign in to comment.