@@ -50,12 +50,10 @@ jobs:
50
50
uses : actions/setup-python@v2
51
51
with :
52
52
python-version : ${{ env.py-semver }}
53
-
54
- - name : Cache for pip
55
- uses : actions/cache@v2
56
- with :
57
- path : ~/.cache/pip
58
- key : ${{ runner.os }}-pip-${{ matrix.step }}-${{ hashFiles('requirements.txt', 'tox.ini') }}
53
+ cache : pip
54
+ cache-dependency-path : |
55
+ requirements.txt
56
+ tox.ini
59
57
60
58
- name : Upgrade setuptools and install tox
61
59
run : |
@@ -100,12 +98,7 @@ jobs:
100
98
uses : actions/setup-python@v2
101
99
with :
102
100
python-version : ${{ env.py-semver }}
103
-
104
- - name : Cache for pip
105
- uses : actions/cache@v2
106
- with :
107
- path : ~/.cache/pip
108
- key : ${{ runner.os }}-pip-${{ matrix.step }}-${{ hashFiles('requirements.txt') }}
101
+ cache : pip
109
102
110
103
- name : Upgrade setuptools and install tox
111
104
run : |
@@ -141,12 +134,7 @@ jobs:
141
134
uses : actions/setup-python@v2
142
135
with :
143
136
python-version : 3.9
144
-
145
- - name : Cache for pip
146
- uses : actions/cache@v2
147
- with :
148
- path : ~/.cache/pip
149
- key : ${{ runner.os }}-conformance-${{ matrix.step }}-${{ hashFiles('requirements.txt') }}
137
+ cache : pip
150
138
151
139
- name : Run CWL conformance tests ${{ matrix.cwl-version }}
152
140
env :
@@ -172,16 +160,14 @@ jobs:
172
160
uses : actions/setup-python@v2
173
161
with :
174
162
python-version : " 3.10" # quoted, otherwise that turns into the number 3.1
163
+ cache : pip
164
+ cache-dependency-path : |
165
+ requirements.txt
166
+ test-requirements.txt
175
167
176
168
- name : Give the test runner user a name to make provenance happy.
177
169
run : sudo usermod -c 'CI Runner' $(whoami)
178
170
179
- - name : Cache for pip
180
- uses : actions/cache@v2
181
- with :
182
- path : ~/.cache/pip
183
- key : ${{ runner.os }}-pip-release-${{ hashFiles('requirements.txt', 'test-requirements.txt') }}
184
-
185
171
- name : Install packages
186
172
run : |
187
173
pip install -U pip setuptools wheel
0 commit comments