@@ -20,11 +20,17 @@ jobs:
20
20
with :
21
21
python-version : 3.9
22
22
23
- - uses : actions/cache@v2
23
+ - uses : actions/cache@v3
24
24
id : cache
25
25
with :
26
- path : ${{ env.pythonLocation }}
27
- key : lint-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('tests/requirements-linting.txt') }}
26
+ path : |
27
+ ${{ env.pythonLocation }}
28
+ .mypy_cache
29
+ key : >
30
+ lint
31
+ ${{ runner.os }}
32
+ ${{ env.pythonLocation }}
33
+ ${{ hashFiles('tests/requirements-linting.txt') }}
28
34
29
35
- name : install
30
36
if : steps.cache.outputs.cache-hit != 'true'
@@ -54,11 +60,12 @@ jobs:
54
60
with :
55
61
python-version : 3.9
56
62
57
- - uses : actions/cache@v2
63
+ - uses : actions/cache@v3
58
64
id : cache
59
65
with :
60
66
path : ${{ env.pythonLocation }}
61
67
key : >
68
+ docs-build
62
69
${{ runner.os }}
63
70
${{ env.pythonLocation }}
64
71
${{ hashFiles('setup.py') }}
97
104
with :
98
105
python-version : ${{ matrix.python-version }}
99
106
100
- - uses : actions/cache@v2
107
+ - uses : actions/cache@v3
101
108
id : cache
102
109
with :
103
110
path : ${{ env.pythonLocation }}
@@ -109,8 +116,8 @@ jobs:
109
116
${{ hashFiles('tests/requirements-testing.txt') }}
110
117
111
118
- name : install
112
- if : steps.cache.outputs.cache-hit != 'true'
113
119
run : make install-testing
120
+ if : steps.cache.outputs.cache-hit != 'true'
114
121
115
122
- name : compile
116
123
run : |
@@ -159,7 +166,7 @@ jobs:
159
166
with :
160
167
python-version : ${{ matrix.python-version }}
161
168
162
- - uses : actions/cache@v2
169
+ - uses : actions/cache@v3
163
170
id : cache
164
171
with :
165
172
path : ${{ env.pythonLocation }}
@@ -175,7 +182,6 @@ jobs:
175
182
if : steps.cache.outputs.cache-hit != 'true'
176
183
177
184
- run : pip freeze
178
- if : steps.cache.outputs.cache-hit != 'true'
179
185
180
186
- run : mkdir coverage
181
187
0 commit comments