Skip to content

Commit ed91576

Browse files
authored
Fixed failing workflow (#106)
* Changed action for installing poetry * Fix name * Fix ci * Fix ci * Fix cache * Fix poetry in release workflow
1 parent e636885 commit ed91576

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ jobs:
2525
with:
2626
python-version: ${{ matrix.python }}
2727

28-
- name: Python Poetry Action
29-
uses: abatilo/[email protected]
28+
- name: Python Install Poetry
29+
uses: Gr1N/setup-poetry@v7
30+
- uses: actions/cache@v2
31+
with:
32+
path: ~/.cache/pypoetry/virtualenvs
33+
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
3034

3135
- name: Install dependencies
3236
run: poetry install

.github/workflows/prepare_release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ jobs:
2020
with:
2121
python-version: 3.8
2222

23-
- name: Python Poetry Action
24-
uses: abatilo/[email protected]
23+
- name: Python Install Poetry
24+
uses: Gr1N/setup-poetry@v7
25+
- uses: actions/cache@v2
26+
with:
27+
path: ~/.cache/pypoetry/virtualenvs
28+
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
2529

2630
- name: Install dependencies
2731
run: poetry install

0 commit comments

Comments
 (0)