File tree Expand file tree Collapse file tree 1 file changed +6
-24
lines changed
Expand file tree Collapse file tree 1 file changed +6
-24
lines changed Original file line number Diff line number Diff line change @@ -18,35 +18,17 @@ jobs:
1818 TAG : ${{ github.event.release.tag_name }}
1919 run : echo "VERSION=${TAG#v}" >> $GITHUB_OUTPUT
2020
21- - name : Set up Python 3.9
22- uses : actions/setup-python@v3
23- with :
24- python-version : 3.9
25-
26- - name : Cache Poetry virtualenv
27- uses : actions/cache@v3
28- id : cache
29- with :
30- path : ~/.virtualenvs
31- key : poetry-${{ hashFiles('**/poetry.lock') }}
32- restore-keys : |
33- poetry-${{ hashFiles('**/poetry.lock') }}
21+ - name : Install Poetry
22+ run : pipx install poetry
3423
35- - name : Install poetry
36- uses : snok/install-poetry@v1
24+ - name : Set up Python 3.12
25+ uses : actions/setup-python@v5
3726 with :
38- version : 1.2.2
39- virtualenvs-create : false
40- virtualenvs-in-project : false
41- installer-parallel : true
27+ python-version : 3.12
28+ cache : ' poetry'
4229
4330 - name : Install Python dependencies
4431 run : |
45- sudo apt-get install -y python-setuptools python3-setuptools
46- pip install poetry
47- poetry config virtualenvs.create false
48- poetry export --dev --without-hashes -o requirements.txt
49- pip install -r requirements.txt
5032 poetry version ${{ steps.get_version.outputs.VERSION }}
5133 poetry install
5234
You can’t perform that action at this time.
0 commit comments