From ca31b7d8d8db4ce9c6f358d113f4b7105e786f2f Mon Sep 17 00:00:00 2001 From: Ryther Anderson Date: Sat, 2 Dec 2023 08:07:58 -0800 Subject: [PATCH] Add tox to load cached venv path --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5215d7..fddc308 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,9 @@ jobs: id: cached-poetry-deps uses: actions/cache@v3 with: - path: .venv + path: | + .venv + .tox key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies if: steps.cached-poetry-deps.outputs.cache-hit != 'true'