Skip to content

Commit

Permalink
Added poetry dependencies caching system
Browse files Browse the repository at this point in the history
  • Loading branch information
henrique-coder committed Dec 12, 2024
1 parent eabfecc commit 35549ba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"

- name: Cache Poetry dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install Poetry
run: |
Expand Down

0 comments on commit 35549ba

Please sign in to comment.