Skip to content

Commit 8a9800d

Browse files
authored
fix: update github actions
1 parent d5c11db commit 8a9800d

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

.github/workflows/cicd.yml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,22 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v6
17+
uses: actions/checkout@v4
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v6
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: "3.10"
2323

2424
- name: Install and configure poetry
25-
env:
26-
POETRY_INSTALLER_UPGRADE: "false"
2725
run: |
28-
python -m pip install "pip<26"
2926
pip install poetry
27+
poetry config virtualenvs.create false
3028
poetry install
3129
3230
- name: Install dependencies
3331
run: |
32+
pip install --upgrade pip
3433
pip install tox
3534
3635
- name: Linting
@@ -41,23 +40,22 @@ jobs:
4140
runs-on: ubuntu-latest
4241
steps:
4342
- name: Checkout code
44-
uses: actions/checkout@v6
43+
uses: actions/checkout@v4
4544

4645
- name: Set up Python
47-
uses: actions/setup-python@v6
46+
uses: actions/setup-python@v5
4847
with:
4948
python-version: "3.9"
5049

5150
- name: Install and configure poetry
52-
env:
53-
POETRY_INSTALLER_UPGRADE: "false"
5451
run: |
55-
python -m pip install "pip<26"
5652
pip install poetry
53+
poetry config virtualenvs.create false
5754
poetry install
5855
5956
- name: Install dependencies
6057
run: |
58+
pip install --upgrade pip
6159
pip install tox
6260
6361
- name: Testing
@@ -68,20 +66,17 @@ jobs:
6866
runs-on: ubuntu-latest
6967
steps:
7068
- name: Checkout code
71-
uses: actions/checkout@v6
69+
uses: actions/checkout@v4
7270

7371
- name: Set up Python
74-
uses: actions/setup-python@v6
72+
uses: actions/setup-python@v5
7573
with:
7674
python-version: "3.10"
7775

78-
- name: Install and configure poetry
79-
env:
80-
POETRY_INSTALLER_UPGRADE: "false"
76+
- name: Install dependencies
8177
run: |
82-
python -m pip install "pip<26"
78+
pip install --upgrade pip
8379
pip install poetry
84-
poetry install
8580
8681
- name: Build package
8782
run: |

0 commit comments

Comments
 (0)