File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,24 +27,17 @@ jobs:
2727 - name : Download source
2828 uses : actions/checkout@v2
2929 - name : Install Python
30- id : python
3130 uses : actions/setup-python@v2
3231 with :
3332 python-version : ${{matrix.python}}
3433 - name : Pin to lowest versions
3534 if : matrix.versions == 'minimal'
3635 run : |
3736 sed -i -E 's/"(\^|>=)([0-9])/"==\2/' pyproject.toml
38- - name : Cache packages
39- uses : actions/cache@v2
37+ - name : Setup virtualenv
38+ uses : syphar/restore-virtualenv@d0a933d92488e0505e012c3367e3f987a6276f5a
4039 with :
41- path : .venv
42- key : venv-${{matrix.os}}-py${{steps.python.outputs.python-version}}-${{hashFiles('pyproject.toml')}}
43- restore-keys : venv-${{matrix.os}}-py${{steps.python.outputs.python-version}}-
44- - name : Create virtualenv
45- run : |
46- python -m venv .venv
47- py=($(pwd)/.venv/*/python*); dirname $py >>$GITHUB_PATH
40+ requirement_files : pyproject.toml
4841 - name : Install packages
4942 run : |
5043 python -m pip install -U pip'>=19'; pip install -U wheel
You can’t perform that action at this time.
0 commit comments