Skip to content

Commit

Permalink
use setup-poetry action
Browse files Browse the repository at this point in the history
  • Loading branch information
narumiruna committed Jun 26, 2024
1 parent 5f0547c commit 2317aaa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
pip install pipx
pipx install poetry==${{ matrix.poetry-version }}
poetry env info
cache: pip
- uses: narumiruna/setup-poetry@v1
with:
poetry-version: ${{ matrix.poetry-version }}
cache: true
- name: Publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
pip install pipx
pipx install poetry==${{ matrix.poetry-version }}
poetry env info
cache: pip
- uses: narumiruna/setup-poetry@v1
with:
poetry-version: ${{ matrix.poetry-version }}
cache: true
- name: Install dependencies
run: poetry install
- name: Lint
Expand Down

0 comments on commit 2317aaa

Please sign in to comment.