Skip to content

Commit 68f977e

Browse files
committed
Fix GH actions python version
1 parent 69b801d commit 68f977e

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/code-checks.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ jobs:
1414
timeout-minutes: 10
1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Install poetry
18-
run: pipx install poetry
1917
- uses: actions/setup-python@v5
2018
with:
21-
python-version: '3.11.13'
22-
cache: 'poetry'
19+
python-version: '3.11.10'
20+
- name: Install poetry
21+
run: pip install poetry
2322
- name: Install dependencies
24-
run: poetry install
23+
run: python -m poetry install
2524
- name: Ruff check
2625
run: poetry run ruff check .
2726
- name: Ruff format check
@@ -35,14 +34,13 @@ jobs:
3534
timeout-minutes: 60
3635
steps:
3736
- uses: actions/checkout@v4
38-
- name: Install poetry
39-
run: pipx install poetry
4037
- uses: actions/setup-python@v5
4138
with:
42-
python-version: '3.11.13'
43-
cache: 'poetry'
39+
python-version: '3.11.10'
40+
- name: Install poetry
41+
run: pip install poetry
4442
- name: Install dependencies
45-
run: poetry install
43+
run: python -m poetry install
4644
- name: configure AWS
4745
uses: aws-actions/configure-aws-credentials@v4
4846
with:

0 commit comments

Comments
 (0)