@@ -27,23 +27,23 @@ jobs:
27
27
IMAGE_NAME : ghcr.io/integer32llc/rust-playground-ci-rust-${{ matrix.channel }}
28
28
steps :
29
29
- name : Checkout code
30
- uses : actions/checkout@v2
30
+ uses : actions/checkout@v3
31
31
with :
32
32
ref : " ${{ github.event.pull_request.head.sha }}"
33
33
- name : Set up Docker Buildx
34
- uses : docker/setup-buildx-action@v1
34
+ uses : docker/setup-buildx-action@v2
35
35
with :
36
36
driver-opts : image=moby/buildkit:v0.9.1
37
37
- name : Login to GitHub Container Registry
38
- uses : docker/login-action@v1
38
+ uses : docker/login-action@v2
39
39
with :
40
40
registry : ghcr.io
41
41
username : " ${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
42
42
password : " ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
43
43
- name : Build and push 'toolchain' container
44
44
env :
45
45
TAG_PREFIX : " ${{ env.IMAGE_NAME }}:toolchain"
46
- uses : docker/build-push-action@v2
46
+ uses : docker/build-push-action@v3
47
47
with :
48
48
context : compiler/base/
49
49
file : compiler/base/Dockerfile
59
59
- name : Build and push 'bare-sources' container
60
60
env :
61
61
TAG_PREFIX : " ${{ env.IMAGE_NAME }}:bare-sources"
62
- uses : docker/build-push-action@v2
62
+ uses : docker/build-push-action@v3
63
63
with :
64
64
context : compiler/base/
65
65
file : compiler/base/Dockerfile
75
75
- name : Build and push 'munge' container
76
76
env :
77
77
TAG_PREFIX : " ${{ env.IMAGE_NAME }}:munge"
78
- uses : docker/build-push-action@v2
78
+ uses : docker/build-push-action@v3
79
79
with :
80
80
context : compiler/base/
81
81
file : compiler/base/Dockerfile
91
91
- name : Build and push 'sources' container
92
92
env :
93
93
TAG_PREFIX : " ${{ env.IMAGE_NAME }}:sources"
94
- uses : docker/build-push-action@v2
94
+ uses : docker/build-push-action@v3
95
95
with :
96
96
context : compiler/base/
97
97
file : compiler/base/Dockerfile
@@ -105,7 +105,7 @@ jobs:
105
105
${{ env.TAG_PREFIX }}--latest
106
106
cache-to : type=inline
107
107
- name : Build and push container
108
- uses : docker/build-push-action@v2
108
+ uses : docker/build-push-action@v3
109
109
with :
110
110
context : compiler/base/
111
111
file : compiler/base/Dockerfile
@@ -132,21 +132,21 @@ jobs:
132
132
IMAGE_NAME : ghcr.io/integer32llc/rust-playground-ci-tool-${{ matrix.tool }}
133
133
steps :
134
134
- name : Checkout code
135
- uses : actions/checkout@v2
135
+ uses : actions/checkout@v3
136
136
with :
137
137
ref : " ${{ github.event.pull_request.head.sha }}"
138
138
- name : Set up Docker Buildx
139
- uses : docker/setup-buildx-action@v1
139
+ uses : docker/setup-buildx-action@v2
140
140
with :
141
141
driver-opts : image=moby/buildkit:v0.9.1
142
142
- name : Login to GitHub Container Registry
143
- uses : docker/login-action@v1
143
+ uses : docker/login-action@v2
144
144
with :
145
145
registry : ghcr.io
146
146
username : " ${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
147
147
password : " ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
148
148
- name : Build and push container
149
- uses : docker/build-push-action@v2
149
+ uses : docker/build-push-action@v3
150
150
with :
151
151
context : compiler/${{ matrix.tool }}/
152
152
file : compiler/${{ matrix.tool }}/Dockerfile
@@ -164,7 +164,7 @@ jobs:
164
164
if : ' github.event_name == '' push'' || contains(github.event.pull_request.labels.*.name, '' CI: approved'' )'
165
165
steps :
166
166
- name : Checkout code
167
- uses : actions/checkout@v2
167
+ uses : actions/checkout@v3
168
168
with :
169
169
ref : " ${{ github.event.pull_request.head.sha }}"
170
170
- name : Install Rust
@@ -175,7 +175,7 @@ jobs:
175
175
override : true
176
176
components : rustfmt
177
177
- name : Cache Cargo intermediate products
178
- uses : actions/cache@v2
178
+ uses : actions/cache@v3
179
179
with :
180
180
path : |-
181
181
~/.cargo/registry
@@ -209,7 +209,7 @@ jobs:
209
209
- name : Restore permissions
210
210
run : sudo chown -R runner:docker ~/.cargo/ ui/target
211
211
- name : Save backend artifact
212
- uses : actions/upload-artifact@v2
212
+ uses : actions/upload-artifact@v3
213
213
with :
214
214
name : backend
215
215
path : |
@@ -221,20 +221,20 @@ jobs:
221
221
if : ' github.event_name == '' push'' || contains(github.event.pull_request.labels.*.name, '' CI: approved'' )'
222
222
steps :
223
223
- name : Checkout code
224
- uses : actions/checkout@v2
224
+ uses : actions/checkout@v3
225
225
with :
226
226
ref : " ${{ github.event.pull_request.head.sha }}"
227
227
- name : Get yarn cache directory path
228
228
id : yarn-cache-dir-path
229
229
run : echo "::set-output name=dir::$(yarn cache dir)"
230
230
- name : Cache yarn intermediate products
231
- uses : actions/cache@v2
231
+ uses : actions/cache@v3
232
232
with :
233
233
path : " ${{ steps.yarn-cache-dir-path.outputs.dir }}"
234
234
key : " ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}"
235
235
restore-keys : " ${{ runner.os }}-yarn-"
236
236
- name : Configure node
237
- uses : actions/setup-node@v1
237
+ uses : actions/setup-node@v3
238
238
with :
239
239
node-version : 16.13
240
240
- name : Install dependencies
@@ -248,7 +248,7 @@ jobs:
248
248
- name : Build frontend
249
249
run : yarn --cwd ui/frontend/ run build:production
250
250
- name : Save frontend artifact
251
- uses : actions/upload-artifact@v2
251
+ uses : actions/upload-artifact@v3
252
252
with :
253
253
name : frontend
254
254
path : ui/frontend/build
@@ -266,15 +266,15 @@ jobs:
266
266
working-directory : tests
267
267
steps :
268
268
- name : Checkout code
269
- uses : actions/checkout@v2
269
+ uses : actions/checkout@v3
270
270
with :
271
271
ref : " ${{ github.event.pull_request.head.sha }}"
272
272
- name : Configure Ruby
273
273
uses : ruby/setup-ruby@v1
274
274
with :
275
275
ruby-version : 3.0.2
276
276
- name : Cache bundler intermediate products
277
- uses : actions/cache@v2
277
+ uses : actions/cache@v3
278
278
with :
279
279
path : tests/vendor/bundle
280
280
key : " ${{ runner.os }}-gems-${{ hashFiles('tests/**/Gemfile.lock') }}"
@@ -299,12 +299,12 @@ jobs:
299
299
docker tag ghcr.io/integer32llc/rust-playground-ci-tool-$t:${{ github.run_id }} $t
300
300
done
301
301
- name : Download backend
302
- uses : actions/download-artifact@v2
302
+ uses : actions/download-artifact@v3
303
303
with :
304
304
name : backend
305
305
path : tests/server/
306
306
- name : Download frontend
307
- uses : actions/download-artifact@v2
307
+ uses : actions/download-artifact@v3
308
308
with :
309
309
name : frontend
310
310
path : tests/server/build/
@@ -321,7 +321,7 @@ jobs:
321
321
bundle exec rspec
322
322
- name : Preserve screenshots
323
323
if : " ${{ failure() }}"
324
- uses : actions/upload-artifact@v2
324
+ uses : actions/upload-artifact@v3
325
325
with :
326
326
name : test-failures
327
327
path : tests/test-failures
@@ -336,13 +336,13 @@ jobs:
336
336
id-token : write
337
337
steps :
338
338
- name : Login to GitHub Container Registry
339
- uses : docker/login-action@v1
339
+ uses : docker/login-action@v2
340
340
with :
341
341
registry : ghcr.io
342
342
username : " ${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
343
343
password : " ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
344
344
- name : Login to Docker Hub
345
- uses : docker/login-action@v1
345
+ uses : docker/login-action@v2
346
346
with :
347
347
username : " ${{ env.DOCKER_HUB_USERNAME }}"
348
348
password : " ${{ secrets.DOCKER_HUB_TOKEN }}"
@@ -371,12 +371,12 @@ jobs:
371
371
docker push shepmaster/$t
372
372
done
373
373
- name : Download backend
374
- uses : actions/download-artifact@v2
374
+ uses : actions/download-artifact@v3
375
375
with :
376
376
name : backend
377
377
path : server/
378
378
- name : Download frontend
379
- uses : actions/download-artifact@v2
379
+ uses : actions/download-artifact@v3
380
380
with :
381
381
name : frontend
382
382
path : server/build/
0 commit comments