mirror of
https://github.com/Xevion/linkpulse.git
synced 2025-12-12 14:12:02 -06:00
use .venv for proper Poetry cache
This commit is contained in:
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
@@ -33,8 +33,8 @@ jobs:
|
|||||||
id: cached-pip-wheels
|
id: cached-pip-wheels
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache
|
|
||||||
key: venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
|
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
|
- name: Install dependencies
|
||||||
run: cd backend && poetry install --no-interaction --no-root
|
run: cd backend && poetry install --no-interaction --no-root
|
||||||
|
|||||||
Reference in New Issue
Block a user