Skip to content

Commit 42a7ae6

Browse files
committed
Use the right Python version for installing poetry
1 parent 4ebd5a1 commit 42a7ae6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci_poetry.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ jobs:
2323
fetch-depth: 1
2424
persist-credentials: false
2525

26+
- name: Set up Python ${{ matrix.python-version }}
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: ${{ matrix.python-version }}
30+
2631
- name: Install poetry
2732
run: pipx install poetry==1.8.5
2833

2934
- name: Configure poetry
3035
run: poetry config virtualenvs.in-project true
3136

32-
- name: Set up Python ${{ matrix.python-version }}
33-
uses: actions/setup-python@v5
34-
with:
35-
python-version: ${{ matrix.python-version }}
36-
3737
- name: Install dependencies (without extras)
3838
run: poetry install --with dev --without docs --no-interaction
3939

@@ -63,17 +63,17 @@ jobs:
6363
fetch-depth: 1
6464
persist-credentials: false
6565

66+
- name: Set up Python ${{ matrix.python-version }}
67+
uses: actions/setup-python@v5
68+
with:
69+
python-version: ${{ matrix.python-version }}
70+
6671
- name: Install poetry
6772
run: pipx install poetry==1.8.5
6873

6974
- name: Configure poetry
7075
run: poetry config virtualenvs.in-project true
7176

72-
- name: Set up Python ${{ matrix.python-version }}
73-
uses: actions/setup-python@v5
74-
with:
75-
python-version: ${{ matrix.python-version }}
76-
7777
- name: Install dependencies (including fractal-tasks extra)
7878
run: poetry install --with dev --without docs --no-interaction -E fractal-tasks
7979

0 commit comments

Comments
 (0)