From 06a962e01e93e26a260394a236dadb77f9ab46a5 Mon Sep 17 00:00:00 2001 From: Henry Cooksley Date: Fri, 21 Jun 2024 14:11:00 +0100 Subject: [PATCH] Check that caching is working correctly --- .circleci/config.yml | 6 +++--- .pre-commit-config.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0fbde60c..54cce876 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,7 +45,7 @@ jobs: - save_cache: paths: - - ./.venv + - ./venv key: dependencies-{{ .Branch }}-{{ checksum "Pipfile.lock" }} - run: @@ -105,7 +105,7 @@ jobs: - save_cache: paths: - - ./.venv + - ./venv key: dependencies-{{ .Branch }}-{{ checksum "Pipfile.lock" }} - run: @@ -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" }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 50c81b1b..0475e5de 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: