Skip to content

Commit

Permalink
ci: enable Poetry cache
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed May 23, 2024
1 parent 0923adb commit 99e16c5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: snok/install-poetry@v1.3.4
- uses: actions/setup-python@v5
with:
cache: poetry
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: poetry install
Expand All @@ -49,9 +49,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: poetry
python-version: "3.9"
- name: Install Dependencies
run: |
Expand Down Expand Up @@ -112,4 +115,4 @@ jobs:
uses: python-semantic-release/upload-to-gh-release@main
if: steps.release.outputs.released == 'true'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 99e16c5

Please sign in to comment.