Skip to content

Commit 876171e

Browse files
committed
GA: cache differently
1 parent a27c60a commit 876171e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci-tests.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,20 @@ jobs:
5050
uses: actions/setup-python@v4
5151
with:
5252
python-version: ${{ env.py-semver }}
53+
cache: pip
54+
cache-dependency-path: |
55+
requirements.txt
56+
tox.ini
5357
5458
- name: Set up Python 3.11.0-rc.2
5559
if: matrix.py-ver-minor == 11
5660
uses: actions/setup-python@v4
5761
with:
5862
python-version: 3.11.0-rc.2
59-
60-
- name: Cache for pip
61-
uses: actions/cache@v3
62-
with:
63-
path: ~/.cache/pip
64-
key: ${{ runner.os }}-pip-${{ matrix.step }}-${{ hashFiles('requirements.txt', 'tox.ini') }}
63+
cache: pip
64+
cache-dependency-path: |
65+
requirements.txt
66+
tox.ini
6567
6668
- name: Upgrade setuptools and install tox
6769
run: |

0 commit comments

Comments
 (0)