Skip to content

Commit 02fcfa2

Browse files
authored
fix: add pip version control in CI workflow
1 parent efd1ba8 commit 02fcfa2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/cicd.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
with:
2222
python-version: "3.10"
2323

24+
- name: Pip version
25+
run: python -m pip install "pip<26"
26+
2427
- name: Install and configure poetry
2528
run: |
2629
pip install poetry
@@ -29,7 +32,6 @@ jobs:
2932
3033
- name: Install dependencies
3134
run: |
32-
pip install --upgrade pip
3335
pip install tox
3436
3537
- name: Linting
@@ -47,6 +49,9 @@ jobs:
4749
with:
4850
python-version: "3.9"
4951

52+
- name: Pip version
53+
run: python -m pip install "pip<26"
54+
5055
- name: Install and configure poetry
5156
run: |
5257
pip install poetry
@@ -55,7 +60,6 @@ jobs:
5560
5661
- name: Install dependencies
5762
run: |
58-
pip install --upgrade pip
5963
pip install tox
6064
6165
- name: Testing
@@ -73,9 +77,11 @@ jobs:
7377
with:
7478
python-version: "3.10"
7579

80+
- name: Pip version
81+
run: python -m pip install "pip<26"
82+
7683
- name: Install dependencies
7784
run: |
78-
pip install --upgrade pip
7985
pip install poetry
8086
8187
- name: Build package

0 commit comments

Comments
 (0)