use .venv for proper Poetry cache

This commit is contained in:
2024-11-09 15:41:01 -06:00
parent 5508b8e6f4
commit 2c4e7ddfcd

View File

@@ -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