Skip to content

Commit

Permalink
install poetry before cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmehl committed Sep 20, 2024
1 parent 4a336a7 commit eb24d51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/actions/poetrybuild/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ inputs:
runs:
using: "composite"
steps:
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python }}
cache: 'poetry'
- name: Install dependencies
run: |
pip install poetry
poetry install --no-interaction ${{ inputs.poetry_args }}
run: poetry install --no-interaction ${{ inputs.poetry_args }}
shell: bash
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: 'poetry'
- name: Install poetry
run: pip install poetry
- name: Build package
run: poetry build
- name: Install package
Expand Down

0 comments on commit eb24d51

Please sign in to comment.