Revert "Use poetry action instead of pipx"

This reverts commit 5526bd3c184344d63eec8da4db9793b1be7002e7.

Poetry must be installed before `setup-python` action, weirdly. And we
need to install poethepoet globally too!
This commit is contained in:
Šarūnas Nejus 2024-06-10 03:23:57 +01:00
parent 17ec5909ed
commit 67637225ba
No known key found for this signature in database
GPG key ID: DD28F6704DBE3435

View file

@ -43,11 +43,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Python tools
uses: BrandonLWhite/pipx-install-action@v0.1.1
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: poetry
- uses: abatilo/actions-poetry@v2
- name: Install dependencies
run: poetry install --only=format
@ -65,11 +66,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Python tools
uses: BrandonLWhite/pipx-install-action@v0.1.1
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: poetry
- uses: abatilo/actions-poetry@v2
- name: Install dependencies
run: poetry install --only=lint
@ -87,11 +89,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Python tools
uses: BrandonLWhite/pipx-install-action@v0.1.1
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: poetry
- uses: abatilo/actions-poetry@v2
- name: Install dependencies
run: poetry install --only=typing
@ -110,11 +113,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Python tools
uses: BrandonLWhite/pipx-install-action@v0.1.1
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: poetry
- uses: abatilo/actions-poetry@v2
- name: Install dependencies
run: poetry install --only=docs