Skip to content

Commit 184c35e

Browse files
committed
Trying workaround with Poetry caching issue.
Using the workaround posted here: actions/setup-python#374 (comment)
1 parent 7323484 commit 184c35e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
15-
- name: Install Python
16-
uses: actions/setup-python@v4
17-
with:
18-
python-version: 3.9
1915
- name: Install Poetry
2016
run: pipx install poetry
21-
- name: Cache poetry dependencies
17+
- name: Setup Python
2218
uses: actions/setup-python@v4
2319
with:
20+
python-version: 3.9
2421
cache: 'poetry'
22+
- name: Install dependencies
23+
run: |
24+
poetry env use "3.9"
25+
poetry install --no-interaction
2526
- name: Run linting
2627
run: poetry run make lint
2728
- name: Run tests

0 commit comments

Comments
 (0)