Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

Commit 218c15a

Browse files
committed
fix: rework pip caching
This removes the set-output in the workflow which was deprecated in 2022. It also removes actions/cache since actions/setup-python handles pip caching already.
1 parent 4f0b097 commit 218c15a

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,8 @@ jobs:
1919
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2020
with:
2121
python-version: ${{ matrix.python-version }}
22-
23-
- name: Get pip cache dir
24-
id: pip-cache
25-
run: |
26-
echo "::set-output name=dir::$(pip cache dir)"
27-
28-
- name: Cache
29-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
30-
with:
31-
path: ${{ steps.pip-cache.outputs.dir }}
32-
key:
33-
${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}
34-
restore-keys: |
35-
${{ matrix.os }}-${{ matrix.python-version }}-
22+
cache: 'pip'
23+
cache-dependency-path: 'requirements-dev.txt'
3624

3725
- name: Install dependencies
3826
shell: bash

0 commit comments

Comments
 (0)