Skip to content

Commit 3a68636

Browse files
committed
ci(docs,tests): pipx install poetry==1.1.12
1 parent 03c77b1 commit 3a68636

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/docs.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@ jobs:
3434
run: echo "PUBLISH=$(echo true)" >> $GITHUB_ENV
3535

3636
- name: Install poetry
37-
run: |
38-
curl -O -sSL https://install.python-poetry.org/install-poetry.py
39-
python install-poetry.py -y --version 1.1.12
40-
echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
41-
rm install-poetry.py
37+
run: pipx install 'poetry==1.1.12'
4238

4339
- name: Set up Python ${{ matrix.python-version }}
4440
uses: actions/setup-python@v3

.github/workflows/tests.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v3
1313
- name: Install poetry
14-
run: |
15-
curl -O -sSL https://install.python-poetry.org/install-poetry.py
16-
python install-poetry.py -y --version 1.1.12
17-
echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
18-
rm install-poetry.py
14+
run: pipx install 'poetry==1.1.12'
1915

2016
- name: Set up Python ${{ matrix.python-version }}
2117
uses: actions/setup-python@v3

0 commit comments

Comments
 (0)