Skip to content

Commit 72038d2

Browse files
committed
Install poetry via pipx
1 parent 2605290 commit 72038d2

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

.github/workflows/doc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323

2424
- name: Install and configure poetry
2525
run: |
26-
python -m pip install poetry
26+
python -m pip install pipx
27+
pipx install poetry
2728
2829
- name: Prepare project for development
2930
run: |

.github/workflows/linters.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ jobs:
2020
with:
2121
python-version: "3.10"
2222

23+
- uses: extractions/setup-just@v1
24+
2325
- name: Install and configure poetry
2426
run: |
25-
python -m pip install poetry
26-
27-
- uses: extractions/setup-just@v1
27+
python -m pip install pipx
28+
pipx install poetry
2829
2930
- name: Prepare project for development
3031
run: |

.github/workflows/safety.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ jobs:
1616

1717
- name: Install and configure poetry
1818
run: |
19-
python -m pip install poetry
19+
python -m pip install pipx
20+
pipx install poetry
2021
2122
- name: Prepare project for development
2223
run: |
23-
python -m poetry install
24+
just setup
2425
2526
- name: Run safety dependency check
2627
run: python -m poetry run safety check --full-report

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727

2828
- name: Install and configure poetry
2929
run: |
30-
python -m pip install poetry
30+
python -m pip install pipx
31+
pipx install poetry
3132
3233
- uses: extractions/setup-just@v1
3334
env:

0 commit comments

Comments
 (0)