We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 162988f commit 7d99ddaCopy full SHA for 7d99dda
.github/workflows/workflow.yaml
@@ -25,6 +25,17 @@ jobs:
25
virtualenvs-in-project: true
26
installer-parallel: true
27
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
39
- name: Install Project
40
run: poetry install --no-interaction
41
0 commit comments