Skip to content

Commit

Permalink
Cache Poetry dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenFrankel committed Nov 18, 2024
1 parent 0ce345d commit ff27cf5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: |
pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
pip install poetry
cache: poetry
- name: Install dependencies
run: |
poetry env use ${{ matrix.python-version }}
Expand Down

0 comments on commit ff27cf5

Please sign in to comment.