Skip to content

Commit 3e09cf8

Browse files
authored
Install poetry before setting up Python (#21)
1 parent 2c46bed commit 3e09cf8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/python-package.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v3
18+
# Poetry has to be installed before setting up Python with a cache
19+
- name: Install poetry
20+
run: pipx install poetry
1821
- name: Set up Python ${{ matrix.python-version }}
1922
uses: actions/setup-python@v4
2023
with:
2124
python-version: ${{ matrix.python-version }}
2225
cache: poetry
23-
- name: Install poetry
24-
run: pipx install poetry
2526
- name: Install dependencies
2627
run: poetry install --no-interaction
2728
- name: Lint

0 commit comments

Comments
 (0)