Skip to content

Commit

Permalink
refactor: cache poetry install
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrennand committed May 18, 2024
1 parent e5c3862 commit 7bdb5f9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@ jobs:
with:
python-version: 3.12

- name: Load cached Poetry installation
id: cached-poetry
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-0

- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
Expand Down

0 comments on commit 7bdb5f9

Please sign in to comment.