Skip to content

Commit

Permalink
Use cache support from setup-python
Browse files Browse the repository at this point in the history
  • Loading branch information
daveisfera committed Nov 26, 2024
1 parent fa1b0a9 commit cb9ed1e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ hashFiles('.github/workflows/ci.yml') }}
restore-keys: ${{ runner.os }}-python-${{ matrix.python-version }}-pip
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit cb9ed1e

Please sign in to comment.