Skip to content

Commit

Permalink
👷 Cache natively in setup-python step
Browse files Browse the repository at this point in the history
  • Loading branch information
i-be-snek committed Oct 26, 2024
1 parent 1edae5a commit 21ac420
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@ jobs:
uses: actions/[email protected]
with:
python-version: 3.11
- id: cache-dependencies
name: Cache dependencies
uses: actions/[email protected]
with:
path: ${{ github.workspace }}/.venv
key: dependencies-${{ hashFiles('**/poetry.lock') }}
restore-keys: dependencies-
cache: poetry
- name: Install dependencies
if: steps.cache-dependencies.cache-hit != 'true'
run: |
python3 -m pip install -U pip poetry
poetry --version
Expand Down

0 comments on commit 21ac420

Please sign in to comment.