Skip to content

Commit

Permalink
Cache Poetry libraries when building docs (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiancross committed Dec 25, 2021
1 parent 23d5f8a commit 2e884d4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ jobs:
- name: Install poetry 🦄
uses: Gr1N/setup-poetry@v7

- name: Load Poetry Cached Libraries ⬇
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: ${{ runner.os }}-poetry

- name: Install dependencies 🖥
run: poetry install --no-interaction --extras "docs"

Expand Down

0 comments on commit 2e884d4

Please sign in to comment.