Skip to content

Commit

Permalink
CI: Enable caching for poetry packages
Browse files Browse the repository at this point in the history
Closes #597.
  • Loading branch information
alexdewar committed May 30, 2024
1 parent 0cd66b7 commit bb2a8ca
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.8.3

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry

- name: Install system dependencies in Linux
if: matrix.os == 'ubuntu-latest'
Expand All @@ -45,11 +51,6 @@ jobs:
# Without this, PySide6 gives an ImportError
sudo apt install libegl1
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.8.3

- name: Install dependencies
run: poetry install

Expand Down

0 comments on commit bb2a8ca

Please sign in to comment.