File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 88
88
with :
89
89
python-version : ${{ matrix.python-version }}
90
90
91
+ - uses : actions/cache@v2
92
+ with :
93
+ path : ~/.cache/pip
94
+ # This is like the example but we use ``*requirements.txt`` rather
95
+ # than ``requirements.txt`` because we have multiple requirements
96
+ # files.
97
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }}
98
+ restore-keys : |
99
+ ${{ runner.os }}-pip-
100
+
91
101
- name : " Install dependencies"
92
102
run : |
93
103
python -m pip install --upgrade pip setuptools wheel
Original file line number Diff line number Diff line change 28
28
with :
29
29
python-version : ${{ matrix.python-version }}
30
30
31
+ - uses : actions/cache@v2
32
+ with :
33
+ path : ~/.cache/pip
34
+ # This is like the example but we use ``*requirements.txt`` rather
35
+ # than ``requirements.txt`` because we have multiple requirements
36
+ # files.
37
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }}
38
+ restore-keys : |
39
+ ${{ runner.os }}-pip-
40
+
31
41
- name : " Install dependencies"
32
42
run : |
33
43
python -m pip install --upgrade pip setuptools wheel
Original file line number Diff line number Diff line change 29
29
with :
30
30
python-version : ${{ matrix.python-version }}
31
31
32
+ - uses : actions/cache@v2
33
+ with :
34
+ path : ~/.cache/pip
35
+ # This is like the example but we use ``*requirements.txt`` rather
36
+ # than ``requirements.txt`` because we have multiple requirements
37
+ # files.
38
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }}
39
+ restore-keys : |
40
+ ${{ runner.os }}-pip-
41
+
32
42
- name : " Install dependencies"
33
43
run : |
34
44
python -m pip install --upgrade pip setuptools wheel
You can’t perform that action at this time.
0 commit comments