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:
24
24
with :
25
25
submodules : ' recursive'
26
26
- name : Set up Python ${{ matrix.python-version }}
27
- uses : actions/setup-python@v2
27
+ uses : actions/setup-python@v5
28
28
with :
29
29
python-version : ${{ matrix.python-version }}
30
+
30
31
- 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
32
41
with :
33
- poetry-version : 1.3.2
42
+ path : ./.venv
43
+ key : venv-${{ hashFiles('poetry.lock') }}
44
+
34
45
- name : Install dependencies
35
46
run : poetry install -E crypto
36
47
- name : Generate rest sync code and tests
You can’t perform that action at this time.
0 commit comments