Skip to content

Commit 7d99dda

Browse files
committed
Revert "Remove caching"
This reverts commit 162988f.
1 parent 162988f commit 7d99dda

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/workflow.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ jobs:
2525
virtualenvs-in-project: true
2626
installer-parallel: true
2727

28+
- name: Load cached venv if possible
29+
id: cached-poetry-dependencies
30+
uses: actions/cache@v2
31+
with:
32+
path: .venv
33+
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
34+
35+
- name: Install dependencies if needed
36+
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
37+
run: poetry install --no-interaction --no-root
38+
2839
- name: Install Project
2940
run: poetry install --no-interaction
3041

0 commit comments

Comments
 (0)