Skip to content

Commit

Permalink
Merge pull request #70 from narumiruna/poetry-action
Browse files Browse the repository at this point in the history
use setup-poetry action
  • Loading branch information
narumiruna authored Jun 26, 2024
2 parents 5f0547c + 2317aaa commit bf4863d
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 bf4863d

Please sign in to comment.