19
19
jobs :
20
20
test :
21
21
runs-on : ${{ matrix.os }}
22
+ defaults :
23
+ run :
24
+ shell : bash
22
25
strategy :
23
26
fail-fast : false
24
27
matrix :
@@ -39,11 +42,10 @@ jobs:
39
42
with :
40
43
virtualenvs-create : true
41
44
virtualenvs-in-project : true
42
- installer-parallel : true
43
45
44
46
- name : Load cached venv
45
47
id : cached-poetry-dependencies
46
- uses : actions/cache@v2
48
+ uses : actions/cache@v3
47
49
with :
48
50
path : .venv
49
51
key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
61
63
62
64
- name : upload test results
63
65
if : always()
64
- uses : actions/upload-artifact@v2
66
+ uses : actions/upload-artifact@v3
65
67
with :
66
68
name : test-results-${{ matrix.os }}-${{ matrix.python-version }}
67
69
path : test-results
74
76
75
77
steps :
76
78
- name : Download Artifacts
77
- uses : actions/download-artifact@v2
79
+ uses : actions/download-artifact@v3
78
80
with :
79
81
path : artifacts
80
82
@@ -101,11 +103,10 @@ jobs:
101
103
with :
102
104
virtualenvs-create : true
103
105
virtualenvs-in-project : true
104
- installer-parallel : true
105
106
106
107
- name : Load cached venv
107
108
id : cached-poetry-dependencies
108
- uses : actions/cache@v2
109
+ uses : actions/cache@v3
109
110
with :
110
111
path : .venv
111
112
key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
@@ -153,11 +154,10 @@ jobs:
153
154
with :
154
155
virtualenvs-create : true
155
156
virtualenvs-in-project : true
156
- installer-parallel : true
157
157
158
158
- name : Load cached venv
159
159
id : cached-poetry-dependencies
160
- uses : actions/cache@v2
160
+ uses : actions/cache@v3
161
161
with :
162
162
path : .venv
163
163
key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
@@ -191,19 +191,19 @@ jobs:
191
191
run : poetry run npm run package
192
192
193
193
- name : Upload VSCode package
194
- uses : actions/upload-artifact@v2
194
+ uses : actions/upload-artifact@v3
195
195
with :
196
196
name : vscode-package
197
197
path : dist/robotcode*.vsix
198
198
199
199
- name : Upload python package
200
- uses : actions/upload-artifact@v2
200
+ uses : actions/upload-artifact@v3
201
201
with :
202
202
name : python-package
203
203
path : dist/*.tar.gz
204
204
205
205
- name : Upload python wheel package
206
- uses : actions/upload-artifact@v2
206
+ uses : actions/upload-artifact@v3
207
207
with :
208
208
name : wheel-package
209
209
path : dist/*.whl
@@ -230,11 +230,10 @@ jobs:
230
230
with :
231
231
virtualenvs-create : true
232
232
virtualenvs-in-project : true
233
- installer-parallel : true
234
233
235
234
- name : Load cached venv
236
235
id : cached-poetry-dependencies
237
- uses : actions/cache@v2
236
+ uses : actions/cache@v3
238
237
with :
239
238
path : .venv
240
239
key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
@@ -256,15 +255,15 @@ jobs:
256
255
- name : install node modules
257
256
run : npm install --also=dev
258
257
259
- - uses : actions/download-artifact@v2
258
+ - uses : actions/download-artifact@v3
260
259
with :
261
260
name : vscode-package
262
261
path : dist
263
- - uses : actions/download-artifact@v2
262
+ - uses : actions/download-artifact@v3
264
263
with :
265
264
name : python-package
266
265
path : dist
267
- - uses : actions/download-artifact@v2
266
+ - uses : actions/download-artifact@v3
268
267
with :
269
268
name : wheel-package
270
269
path : dist
0 commit comments