Skip to content

Commit 34c3d5b

Browse files
committed
Add executor in to the cache keys.
1 parent c3cc38a commit 34c3d5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
- checkout
2222
- restore_cache:
2323
keys:
24-
- v1-dependencies-{{ checksum "requirements.txt" }}
25-
- v1-dependencies-
24+
- v1-dependencies-<< parameters.executor >>-{{ checksum "requirements.txt" }}
25+
- v1-dependencies-<< parameters.executor >>
2626
- run:
2727
name: install dependencies
2828
command: |
@@ -32,7 +32,7 @@ jobs:
3232
- save_cache:
3333
paths:
3434
- ./venv
35-
key: v1-dependencies-{{ checksum "requirements.txt" }}
35+
key: v1-dependencies-<< parameters.executor >>-{{ checksum "requirements.txt" }}
3636
- run:
3737
name: run tests
3838
command: |

0 commit comments

Comments
 (0)