Skip to content

Commit f19656d

Browse files
committed
Fix
1 parent 53b3da0 commit f19656d

File tree

3 files changed

+14
-28
lines changed

3 files changed

+14
-28
lines changed

.github/workflows/checks.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@ jobs:
2121
working-directory: ${{ matrix.lib }}
2222
steps:
2323
- uses: actions/checkout@v4
24+
- name: Install poetry
25+
run: pipx install poetry
2426
- name: Set up Python
2527
uses: actions/setup-python@v5
2628
with:
2729
python-version: ${{ matrix.python-version }}
2830
cache: "poetry"
29-
- name: Install poetry
30-
run: |
31-
pip install poetry
32-
poetry --version
3331
- name: Install dependencies and library
3432
run: poetry install
3533
- name: Check format
@@ -48,15 +46,13 @@ jobs:
4846
working-directory: ${{ matrix.lib }}
4947
steps:
5048
- uses: actions/checkout@v4
49+
- name: Install poetry
50+
run: pipx install poetry
5151
- name: Set up Python
5252
uses: actions/setup-python@v5
5353
with:
5454
python-version: ${{ matrix.python-version }}
5555
cache: "poetry"
56-
- name: Install poetry
57-
run: |
58-
pip install poetry
59-
poetry --version
6056
- name: Install dependencies and library
6157
run: poetry install
6258
- name: Check typing
@@ -75,15 +71,13 @@ jobs:
7571
working-directory: ${{ matrix.lib }}
7672
steps:
7773
- uses: actions/checkout@v4
74+
- name: Install poetry
75+
run: pipx install poetry
7876
- name: Set up Python
7977
uses: actions/setup-python@v5
8078
with:
8179
python-version: ${{ matrix.python-version }}
8280
cache: "poetry"
83-
- name: Install poetry
84-
run: |
85-
pip install poetry
86-
poetry --version
8781
- name: Install dependencies and library
8882
run: poetry install
8983
# We ignore the following rules for now:
@@ -105,15 +99,13 @@ jobs:
10599
working-directory: ${{ matrix.lib }}
106100
steps:
107101
- uses: actions/checkout@v4
102+
- name: Install poetry
103+
run: pipx install poetry
108104
- name: Set up Python
109105
uses: actions/setup-python@v5
110106
with:
111107
python-version: ${{ matrix.python-version }}
112108
cache: "poetry"
113-
- name: Install poetry
114-
run: |
115-
pip install poetry
116-
poetry --version
117109
- name: Install dependencies and library
118110
run: poetry install
119111
- name: Run tests

.github/workflows/docs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
working-directory: ./docs
1717
steps:
1818
- uses: actions/checkout@v4
19+
- name: Install poetry
20+
run: pipx install poetry
1921
- name: Set up Python
2022
uses: actions/setup-python@v5
2123
with:
@@ -25,10 +27,6 @@ jobs:
2527
uses: actions/setup-cache@v4
2628
with:
2729
path: ./source
28-
- name: Install poetry
29-
run: |
30-
pip install poetry
31-
poetry --version
3230
- name: Install dependencies and library
3331
run: poetry install --no-root
3432
- name: Generate documentation sources

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ jobs:
1212
working-directory: scaleway-core
1313
steps:
1414
- uses: actions/checkout@v4
15+
- name: Install poetry
16+
run: pipx install poetry
1517
- name: Set up Python
1618
uses: actions/setup-python@v5
1719
with:
1820
python-version: "3.10"
1921
cache: "poetry"
20-
- name: Install poetry
21-
run: |
22-
pip install poetry
23-
poetry --version
2422
- name: Update lock file
2523
run: poetry lock
2624
- name: Install dependencies and library
@@ -50,15 +48,13 @@ jobs:
5048
working-directory: ${{ matrix.lib }}
5149
steps:
5250
- uses: actions/checkout@v4
51+
- name: Install poetry
52+
run: pipx install poetry
5353
- name: Set up Python
5454
uses: actions/setup-python@v5
5555
with:
5656
python-version: "3.10"
5757
cache: "poetry"
58-
- name: Install poetry
59-
run: |
60-
pip install poetry
61-
poetry --version
6258
- name: Set local scaleway-core version
6359
run: poetry version $(echo "${{ github.ref }}" | cut -d "/" -f 3)
6460
working-directory: scaleway-core

0 commit comments

Comments
 (0)