@@ -27,21 +27,21 @@ 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@v3
30
+ uses : actions/checkout@v4
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@v2
34
+ uses : docker/setup-buildx-action@v3
35
35
with :
36
36
driver-opts : image=moby/buildkit:v0.11.6
37
37
- name : Login to GitHub Container Registry
38
- uses : docker/login-action@v2
38
+ uses : docker/login-action@v3
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 container
44
- uses : docker/build-push-action@v4
44
+ uses : docker/build-push-action@v5
45
45
with :
46
46
context : compiler/base/
47
47
file : compiler/base/Dockerfile
56
56
if : ' github.event_name == '' push'' || contains(github.event.pull_request.labels.*.name, '' CI: approved'' )'
57
57
steps :
58
58
- name : Checkout code
59
- uses : actions/checkout@v3
59
+ uses : actions/checkout@v4
60
60
with :
61
61
ref : " ${{ github.event.pull_request.head.sha }}"
62
62
- name : Install Rust
72
72
- name : Build backend
73
73
run : " ./ci/build-backend.sh"
74
74
- name : Save backend artifact
75
- uses : actions/upload-artifact@v3
75
+ uses : actions/upload-artifact@v4
76
76
with :
77
77
name : backend
78
78
path : |
@@ -85,11 +85,11 @@ jobs:
85
85
if : ' github.event_name == '' push'' || contains(github.event.pull_request.labels.*.name, '' CI: approved'' )'
86
86
steps :
87
87
- name : Checkout code
88
- uses : actions/checkout@v3
88
+ uses : actions/checkout@v4
89
89
with :
90
90
ref : " ${{ github.event.pull_request.head.sha }}"
91
91
- name : Configure node
92
- uses : actions/setup-node@v3
92
+ uses : actions/setup-node@v4
93
93
with :
94
94
node-version : 18.14
95
95
- name : Get pnpm version from package.json
98
98
99
99
'
100
100
- name : Install pnpm
101
- uses : pnpm/action-setup@v2.4.0
101
+ uses : pnpm/action-setup@v3
102
102
with :
103
103
version : " ${{ steps.pnpm-version.outputs.pnpm_version }}"
104
104
- name : Get pnpm store directory
@@ -107,7 +107,7 @@ jobs:
107
107
108
108
'
109
109
- name : Cache pnpm intermediate products
110
- uses : actions/cache@v3
110
+ uses : actions/cache@v4
111
111
with :
112
112
path : " ${{ steps.pnpm-cache-dir-path.outputs.dir }}"
113
113
key : " ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}"
@@ -123,7 +123,7 @@ jobs:
123
123
- name : Build frontend
124
124
run : pnpm --dir ui/frontend/ run build:production
125
125
- name : Save frontend artifact
126
- uses : actions/upload-artifact@v3
126
+ uses : actions/upload-artifact@v4
127
127
with :
128
128
name : frontend
129
129
path : ui/frontend/build
@@ -140,15 +140,15 @@ jobs:
140
140
working-directory : tests
141
141
steps :
142
142
- name : Checkout code
143
- uses : actions/checkout@v3
143
+ uses : actions/checkout@v4
144
144
with :
145
145
ref : " ${{ github.event.pull_request.head.sha }}"
146
146
- name : Configure Ruby
147
147
uses : ruby/setup-ruby@v1
148
148
with :
149
149
ruby-version : 3.0.2
150
150
- name : Cache bundler intermediate products
151
- uses : actions/cache@v3
151
+ uses : actions/cache@v4
152
152
with :
153
153
path : tests/vendor/bundle
154
154
key : " ${{ runner.os }}-gems-${{ hashFiles('tests/**/Gemfile.lock') }}"
@@ -168,12 +168,12 @@ jobs:
168
168
docker tag ghcr.io/integer32llc/rust-playground-ci-rust-$c:${{ github.run_id }} rust-$c
169
169
done
170
170
- name : Download backend
171
- uses : actions/download-artifact@v3
171
+ uses : actions/download-artifact@v4
172
172
with :
173
173
name : backend
174
174
path : tests/server/
175
175
- name : Download frontend
176
- uses : actions/download-artifact@v3
176
+ uses : actions/download-artifact@v4
177
177
with :
178
178
name : frontend
179
179
path : tests/server/build/
@@ -195,7 +195,7 @@ jobs:
195
195
bundle exec rspec
196
196
- name : Preserve screenshots
197
197
if : " ${{ failure() }}"
198
- uses : actions/upload-artifact@v3
198
+ uses : actions/upload-artifact@v4
199
199
with :
200
200
name : test-failures
201
201
path : tests/test-failures
@@ -210,13 +210,13 @@ jobs:
210
210
id-token : write
211
211
steps :
212
212
- name : Login to GitHub Container Registry
213
- uses : docker/login-action@v2
213
+ uses : docker/login-action@v3
214
214
with :
215
215
registry : ghcr.io
216
216
username : " ${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
217
217
password : " ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
218
218
- name : Login to Docker Hub
219
- uses : docker/login-action@v2
219
+ uses : docker/login-action@v3
220
220
with :
221
221
username : " ${{ env.DOCKER_HUB_USERNAME }}"
222
222
password : " ${{ secrets.DOCKER_HUB_TOKEN }}"
@@ -236,17 +236,17 @@ jobs:
236
236
docker push shepmaster/rust-$c
237
237
done
238
238
- name : Download backend
239
- uses : actions/download-artifact@v3
239
+ uses : actions/download-artifact@v4
240
240
with :
241
241
name : backend
242
242
path : server/
243
243
- name : Download frontend
244
- uses : actions/download-artifact@v3
244
+ uses : actions/download-artifact@v4
245
245
with :
246
246
name : frontend
247
247
path : server/build/
248
248
- name : Configure AWS credentials (i32)
249
- uses : aws-actions/configure-aws-credentials@v2
249
+ uses : aws-actions/configure-aws-credentials@v4
250
250
with :
251
251
aws-access-key-id : " ${{ env.AWS_ACCESS_KEY_ID }}"
252
252
aws-secret-access-key : " ${{ secrets.AWS_SECRET_ACCESS_KEY }}"
@@ -256,7 +256,7 @@ jobs:
256
256
- name : Push frontend (i32)
257
257
run : aws s3 sync server/build/ s3://playground-artifacts-i32/build
258
258
- name : Configure AWS credentials (rust-lang)
259
- uses : aws-actions/configure-aws-credentials@v2
259
+ uses : aws-actions/configure-aws-credentials@v4
260
260
with :
261
261
role-skip-session-tagging : true
262
262
role-to-assume : arn:aws:iam::890664054962:role/upload-playground-artifacts
0 commit comments