@@ -27,23 +27,23 @@ jobs:
2727 IMAGE_NAME : ghcr.io/integer32llc/rust-playground-ci-rust-${{ matrix.channel }}
2828 steps :
2929 - name : Checkout code
30- uses : actions/checkout@v2
30+ uses : actions/checkout@v3
3131 with :
3232 ref : " ${{ github.event.pull_request.head.sha }}"
3333 - name : Set up Docker Buildx
34- uses : docker/setup-buildx-action@v1
34+ uses : docker/setup-buildx-action@v2
3535 with :
3636 driver-opts : image=moby/buildkit:v0.9.1
3737 - name : Login to GitHub Container Registry
38- uses : docker/login-action@v1
38+ uses : docker/login-action@v2
3939 with :
4040 registry : ghcr.io
4141 username : " ${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
4242 password : " ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
4343 - name : Build and push 'toolchain' container
4444 env :
4545 TAG_PREFIX : " ${{ env.IMAGE_NAME }}:toolchain"
46- uses : docker/build-push-action@v2
46+ uses : docker/build-push-action@v3
4747 with :
4848 context : compiler/base/
4949 file : compiler/base/Dockerfile
5959 - name : Build and push 'bare-sources' container
6060 env :
6161 TAG_PREFIX : " ${{ env.IMAGE_NAME }}:bare-sources"
62- uses : docker/build-push-action@v2
62+ uses : docker/build-push-action@v3
6363 with :
6464 context : compiler/base/
6565 file : compiler/base/Dockerfile
7575 - name : Build and push 'munge' container
7676 env :
7777 TAG_PREFIX : " ${{ env.IMAGE_NAME }}:munge"
78- uses : docker/build-push-action@v2
78+ uses : docker/build-push-action@v3
7979 with :
8080 context : compiler/base/
8181 file : compiler/base/Dockerfile
9191 - name : Build and push 'sources' container
9292 env :
9393 TAG_PREFIX : " ${{ env.IMAGE_NAME }}:sources"
94- uses : docker/build-push-action@v2
94+ uses : docker/build-push-action@v3
9595 with :
9696 context : compiler/base/
9797 file : compiler/base/Dockerfile
@@ -105,7 +105,7 @@ jobs:
105105 ${{ env.TAG_PREFIX }}--latest
106106 cache-to : type=inline
107107 - name : Build and push container
108- uses : docker/build-push-action@v2
108+ uses : docker/build-push-action@v3
109109 with :
110110 context : compiler/base/
111111 file : compiler/base/Dockerfile
@@ -132,21 +132,21 @@ jobs:
132132 IMAGE_NAME : ghcr.io/integer32llc/rust-playground-ci-tool-${{ matrix.tool }}
133133 steps :
134134 - name : Checkout code
135- uses : actions/checkout@v2
135+ uses : actions/checkout@v3
136136 with :
137137 ref : " ${{ github.event.pull_request.head.sha }}"
138138 - name : Set up Docker Buildx
139- uses : docker/setup-buildx-action@v1
139+ uses : docker/setup-buildx-action@v2
140140 with :
141141 driver-opts : image=moby/buildkit:v0.9.1
142142 - name : Login to GitHub Container Registry
143- uses : docker/login-action@v1
143+ uses : docker/login-action@v2
144144 with :
145145 registry : ghcr.io
146146 username : " ${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
147147 password : " ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
148148 - name : Build and push container
149- uses : docker/build-push-action@v2
149+ uses : docker/build-push-action@v3
150150 with :
151151 context : compiler/${{ matrix.tool }}/
152152 file : compiler/${{ matrix.tool }}/Dockerfile
@@ -164,7 +164,7 @@ jobs:
164164 if : ' github.event_name == '' push'' || contains(github.event.pull_request.labels.*.name, '' CI: approved'' )'
165165 steps :
166166 - name : Checkout code
167- uses : actions/checkout@v2
167+ uses : actions/checkout@v3
168168 with :
169169 ref : " ${{ github.event.pull_request.head.sha }}"
170170 - name : Install Rust
@@ -175,7 +175,7 @@ jobs:
175175 override : true
176176 components : rustfmt
177177 - name : Cache Cargo intermediate products
178- uses : actions/cache@v2
178+ uses : actions/cache@v3
179179 with :
180180 path : |-
181181 ~/.cargo/registry
@@ -209,7 +209,7 @@ jobs:
209209 - name : Restore permissions
210210 run : sudo chown -R runner:docker ~/.cargo/ ui/target
211211 - name : Save backend artifact
212- uses : actions/upload-artifact@v2
212+ uses : actions/upload-artifact@v3
213213 with :
214214 name : backend
215215 path : |
@@ -221,20 +221,20 @@ jobs:
221221 if : ' github.event_name == '' push'' || contains(github.event.pull_request.labels.*.name, '' CI: approved'' )'
222222 steps :
223223 - name : Checkout code
224- uses : actions/checkout@v2
224+ uses : actions/checkout@v3
225225 with :
226226 ref : " ${{ github.event.pull_request.head.sha }}"
227227 - name : Get yarn cache directory path
228228 id : yarn-cache-dir-path
229229 run : echo "::set-output name=dir::$(yarn cache dir)"
230230 - name : Cache yarn intermediate products
231- uses : actions/cache@v2
231+ uses : actions/cache@v3
232232 with :
233233 path : " ${{ steps.yarn-cache-dir-path.outputs.dir }}"
234234 key : " ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}"
235235 restore-keys : " ${{ runner.os }}-yarn-"
236236 - name : Configure node
237- uses : actions/setup-node@v1
237+ uses : actions/setup-node@v3
238238 with :
239239 node-version : 16.13
240240 - name : Install dependencies
@@ -248,7 +248,7 @@ jobs:
248248 - name : Build frontend
249249 run : yarn --cwd ui/frontend/ run build:production
250250 - name : Save frontend artifact
251- uses : actions/upload-artifact@v2
251+ uses : actions/upload-artifact@v3
252252 with :
253253 name : frontend
254254 path : ui/frontend/build
@@ -266,15 +266,15 @@ jobs:
266266 working-directory : tests
267267 steps :
268268 - name : Checkout code
269- uses : actions/checkout@v2
269+ uses : actions/checkout@v3
270270 with :
271271 ref : " ${{ github.event.pull_request.head.sha }}"
272272 - name : Configure Ruby
273273 uses : ruby/setup-ruby@v1
274274 with :
275275 ruby-version : 3.0.2
276276 - name : Cache bundler intermediate products
277- uses : actions/cache@v2
277+ uses : actions/cache@v3
278278 with :
279279 path : tests/vendor/bundle
280280 key : " ${{ runner.os }}-gems-${{ hashFiles('tests/**/Gemfile.lock') }}"
@@ -299,12 +299,12 @@ jobs:
299299 docker tag ghcr.io/integer32llc/rust-playground-ci-tool-$t:${{ github.run_id }} $t
300300 done
301301 - name : Download backend
302- uses : actions/download-artifact@v2
302+ uses : actions/download-artifact@v3
303303 with :
304304 name : backend
305305 path : tests/server/
306306 - name : Download frontend
307- uses : actions/download-artifact@v2
307+ uses : actions/download-artifact@v3
308308 with :
309309 name : frontend
310310 path : tests/server/build/
@@ -321,7 +321,7 @@ jobs:
321321 bundle exec rspec
322322 - name : Preserve screenshots
323323 if : " ${{ failure() }}"
324- uses : actions/upload-artifact@v2
324+ uses : actions/upload-artifact@v3
325325 with :
326326 name : test-failures
327327 path : tests/test-failures
@@ -336,13 +336,13 @@ jobs:
336336 id-token : write
337337 steps :
338338 - name : Login to GitHub Container Registry
339- uses : docker/login-action@v1
339+ uses : docker/login-action@v2
340340 with :
341341 registry : ghcr.io
342342 username : " ${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
343343 password : " ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
344344 - name : Login to Docker Hub
345- uses : docker/login-action@v1
345+ uses : docker/login-action@v2
346346 with :
347347 username : " ${{ env.DOCKER_HUB_USERNAME }}"
348348 password : " ${{ secrets.DOCKER_HUB_TOKEN }}"
@@ -371,12 +371,12 @@ jobs:
371371 docker push shepmaster/$t
372372 done
373373 - name : Download backend
374- uses : actions/download-artifact@v2
374+ uses : actions/download-artifact@v3
375375 with :
376376 name : backend
377377 path : server/
378378 - name : Download frontend
379- uses : actions/download-artifact@v2
379+ uses : actions/download-artifact@v3
380380 with :
381381 name : frontend
382382 path : server/build/
0 commit comments