Skip to content

Commit

Permalink
Check that caching is working correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
hnryjmes committed Jun 21, 2024
1 parent 15ee665 commit 8706c8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- save_cache:
paths:
- ./.venv
- ./venv
key: dependencies-{{ .Branch }}-{{ checksum "Pipfile.lock" }}

- run:
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
- save_cache:
paths:
- ./.venv
- ./venv
key: dependencies-{{ .Branch }}-{{ checksum "Pipfile.lock" }}

- run:
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:

- save_cache:
paths:
- ./.venv
- ./venv
- ~/.cache/pre-commit
# the cache key changes whenever any of the branch name, Pipfile.lock checksum, or .pre-commit-config.yaml checksum change
key: dependencies-{{ .Branch }}-{{ checksum "Pipfile.lock" }}-{{ checksum ".pre-commit-config.yaml" }}
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
exclude: (exporter/assets/built/|caseworker/assets/built/)
repos:
# ruff-pre-commit docs recommend running ruff before black
# ruff-pre-commit docs recommend running ruff before black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.4
hooks:
Expand Down

0 comments on commit 8706c8a

Please sign in to comment.