File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,24 @@ jobs:
2424 with :
2525 submodules : ' recursive'
2626 - name : Set up Python ${{ matrix.python-version }}
27- uses : actions/setup-python@v2
27+ uses : actions/setup-python@v4
2828 with :
2929 python-version : ${{ matrix.python-version }}
30+
3031 - name : Setup poetry
31- uses : abatilo/actions-poetry@v2.0.0
32+ uses : abatilo/actions-poetry@v4
33+
34+ - name : Setup a local virtual environment
35+ run : |
36+ poetry config virtualenvs.create true --local
37+ poetry config virtualenvs.in-project true --local
38+
39+ - uses : actions/cache@v3
40+ name : Define a cache for the virtual environment based on the dependencies lock file
3241 with :
33- poetry-version : 1.3.2
42+ path : ./.venv
43+ key : venv-${{ hashFiles('poetry.lock') }}
44+
3445 - name : Install dependencies
3546 run : poetry install -E crypto
3647 - name : Generate rest sync code and tests
You can’t perform that action at this time.
0 commit comments