Skip to content

Commit

Permalink
feat(ci): enable poetry cache in setup-python (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
34j committed May 22, 2024
1 parent 986470a commit 7bd2ad5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion project/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,15 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
id: setup-python
with:
python-version: ${{ matrix.python-version }}
- uses: snok/install-poetry@v1.3.4
cache: "poetry"
- run: echo "Cache hit:${{ steps.setup-python.outputs.cache-hit }}" # true if cache-hit occurred on the primary key
- name: Install Dependencies
run: poetry install
shell: bash
Expand Down

0 comments on commit 7bd2ad5

Please sign in to comment.