We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e7c953 + 912d214 commit 73cdcd1Copy full SHA for 73cdcd1
1 file changed
.github/workflows/tests.yml
@@ -44,6 +44,20 @@ jobs:
44
with:
45
python-version: ${{ matrix.python }}
46
47
+ # https://github.com/actions/cache/blob/main/examples.md#using-pip-to-get-cache-location
48
+ - name: Get pip cache dir
49
+ id: pip-cache
50
+ run: |
51
+ echo "::set-output name=dir::$(pip cache dir)"
52
+
53
+ - name: pip cache
54
+ uses: actions/cache@v2
55
+ with:
56
+ path: ${{ steps.pip-cache.outputs.dir }}
57
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/setup.py') }}
58
+ restore-keys: |
59
+ ${{ runner.os }}-pip-
60
61
- name: Install dependencies
62
run: make install
63
0 commit comments