Skip to content

Commit

Permalink
Fixed failing workflow (#106)
Browse files Browse the repository at this point in the history
* Changed action for installing poetry

* Fix name

* Fix ci

* Fix ci

* Fix cache

* Fix poetry in release workflow
  • Loading branch information
TRoboto authored Sep 25, 2022
1 parent e636885 commit ed91576
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ jobs:
with:
python-version: ${{ matrix.python }}

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

- name: Install dependencies
run: poetry install
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ jobs:
with:
python-version: 3.8

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

- name: Install dependencies
run: poetry install
Expand Down

0 comments on commit ed91576

Please sign in to comment.