From 2c4e7ddfcd6b089cb745f4c3644bec478a23237b Mon Sep 17 00:00:00 2001 From: Xevion Date: Sat, 9 Nov 2024 15:41:01 -0600 Subject: [PATCH] use .venv for proper Poetry cache --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 19c7cee..5a5fd47 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -33,8 +33,8 @@ jobs: id: cached-pip-wheels uses: actions/cache@v4 with: - path: ~/.cache key: venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} + path: .venv # While ~/.cache is a fine default, I want to separate this cache from other caches - name: Install dependencies run: cd backend && poetry install --no-interaction --no-root