File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,21 +32,18 @@ jobs:
3232 - name : Install Poetry
3333 uses : snok/install-poetry@v1
3434 with :
35- version : 1.2.0
3635 virtualenvs-create : true
3736 virtualenvs-in-project : true
3837 installer-parallel : true # default option selected currently
3938 # Load cached environment, if it exists
4039 - name : Load cached poetry environment
4140 id : cached-poetry-dependencies
42- uses : actions/cache@v2
41+ uses : actions/cache@v3
4342 with :
4443 path : .venv
45- key : venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
44+ key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
4645 - name : Install dependencies
47- if : steps.cached-poetry-dependencies.outputs.catch-hit != 'true'
48- run : poetry install --no-interaction --no-root
49- - name : Install project
46+ if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
5047 run : poetry install --no-interaction
5148 # Install pandoc for building docs
5249 - name : Install pandoc for Ubuntu
You can’t perform that action at this time.
0 commit comments