@@ -27,21 +27,21 @@ jobs:
2727 IMAGE_NAME : ghcr.io/integer32llc/rust-playground-ci-rust-${{ matrix.channel }}
2828 steps :
2929 - name : Checkout code
30- uses : actions/checkout@v3
30+ uses : actions/checkout@v4
3131 with :
3232 ref : " ${{ github.event.pull_request.head.sha }}"
3333 - name : Set up Docker Buildx
34- uses : docker/setup-buildx-action@v2
34+ uses : docker/setup-buildx-action@v3
3535 with :
3636 driver-opts : image=moby/buildkit:v0.11.6
3737 - name : Login to GitHub Container Registry
38- uses : docker/login-action@v2
38+ uses : docker/login-action@v3
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 container
44- uses : docker/build-push-action@v4
44+ uses : docker/build-push-action@v5
4545 with :
4646 context : compiler/base/
4747 file : compiler/base/Dockerfile
5656 if : ' github.event_name == '' push'' || contains(github.event.pull_request.labels.*.name, '' CI: approved'' )'
5757 steps :
5858 - name : Checkout code
59- uses : actions/checkout@v3
59+ uses : actions/checkout@v4
6060 with :
6161 ref : " ${{ github.event.pull_request.head.sha }}"
6262 - name : Install Rust
7272 - name : Build backend
7373 run : " ./ci/build-backend.sh"
7474 - name : Save backend artifact
75- uses : actions/upload-artifact@v3
75+ uses : actions/upload-artifact@v4
7676 with :
7777 name : backend
7878 path : |
@@ -85,11 +85,11 @@ jobs:
8585 if : ' github.event_name == '' push'' || contains(github.event.pull_request.labels.*.name, '' CI: approved'' )'
8686 steps :
8787 - name : Checkout code
88- uses : actions/checkout@v3
88+ uses : actions/checkout@v4
8989 with :
9090 ref : " ${{ github.event.pull_request.head.sha }}"
9191 - name : Configure node
92- uses : actions/setup-node@v3
92+ uses : actions/setup-node@v4
9393 with :
9494 node-version : 18.14
9595 - name : Get pnpm version from package.json
9898
9999 '
100100 - name : Install pnpm
101- uses : pnpm/action-setup@v2.4.0
101+ uses : pnpm/action-setup@v3
102102 with :
103103 version : " ${{ steps.pnpm-version.outputs.pnpm_version }}"
104104 - name : Get pnpm store directory
@@ -107,7 +107,7 @@ jobs:
107107
108108 '
109109 - name : Cache pnpm intermediate products
110- uses : actions/cache@v3
110+ uses : actions/cache@v4
111111 with :
112112 path : " ${{ steps.pnpm-cache-dir-path.outputs.dir }}"
113113 key : " ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}"
@@ -123,7 +123,7 @@ jobs:
123123 - name : Build frontend
124124 run : pnpm --dir ui/frontend/ run build:production
125125 - name : Save frontend artifact
126- uses : actions/upload-artifact@v3
126+ uses : actions/upload-artifact@v4
127127 with :
128128 name : frontend
129129 path : ui/frontend/build
@@ -140,15 +140,15 @@ jobs:
140140 working-directory : tests
141141 steps :
142142 - name : Checkout code
143- uses : actions/checkout@v3
143+ uses : actions/checkout@v4
144144 with :
145145 ref : " ${{ github.event.pull_request.head.sha }}"
146146 - name : Configure Ruby
147147 uses : ruby/setup-ruby@v1
148148 with :
149149 ruby-version : 3.0.2
150150 - name : Cache bundler intermediate products
151- uses : actions/cache@v3
151+ uses : actions/cache@v4
152152 with :
153153 path : tests/vendor/bundle
154154 key : " ${{ runner.os }}-gems-${{ hashFiles('tests/**/Gemfile.lock') }}"
@@ -168,12 +168,12 @@ jobs:
168168 docker tag ghcr.io/integer32llc/rust-playground-ci-rust-$c:${{ github.run_id }} rust-$c
169169 done
170170 - name : Download backend
171- uses : actions/download-artifact@v3
171+ uses : actions/download-artifact@v4
172172 with :
173173 name : backend
174174 path : tests/server/
175175 - name : Download frontend
176- uses : actions/download-artifact@v3
176+ uses : actions/download-artifact@v4
177177 with :
178178 name : frontend
179179 path : tests/server/build/
@@ -195,7 +195,7 @@ jobs:
195195 bundle exec rspec
196196 - name : Preserve screenshots
197197 if : " ${{ failure() }}"
198- uses : actions/upload-artifact@v3
198+ uses : actions/upload-artifact@v4
199199 with :
200200 name : test-failures
201201 path : tests/test-failures
@@ -210,13 +210,13 @@ jobs:
210210 id-token : write
211211 steps :
212212 - name : Login to GitHub Container Registry
213- uses : docker/login-action@v2
213+ uses : docker/login-action@v3
214214 with :
215215 registry : ghcr.io
216216 username : " ${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
217217 password : " ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
218218 - name : Login to Docker Hub
219- uses : docker/login-action@v2
219+ uses : docker/login-action@v3
220220 with :
221221 username : " ${{ env.DOCKER_HUB_USERNAME }}"
222222 password : " ${{ secrets.DOCKER_HUB_TOKEN }}"
@@ -236,17 +236,17 @@ jobs:
236236 docker push shepmaster/rust-$c
237237 done
238238 - name : Download backend
239- uses : actions/download-artifact@v3
239+ uses : actions/download-artifact@v4
240240 with :
241241 name : backend
242242 path : server/
243243 - name : Download frontend
244- uses : actions/download-artifact@v3
244+ uses : actions/download-artifact@v4
245245 with :
246246 name : frontend
247247 path : server/build/
248248 - name : Configure AWS credentials (i32)
249- uses : aws-actions/configure-aws-credentials@v2
249+ uses : aws-actions/configure-aws-credentials@v4
250250 with :
251251 aws-access-key-id : " ${{ env.AWS_ACCESS_KEY_ID }}"
252252 aws-secret-access-key : " ${{ secrets.AWS_SECRET_ACCESS_KEY }}"
@@ -256,7 +256,7 @@ jobs:
256256 - name : Push frontend (i32)
257257 run : aws s3 sync server/build/ s3://playground-artifacts-i32/build
258258 - name : Configure AWS credentials (rust-lang)
259- uses : aws-actions/configure-aws-credentials@v2
259+ uses : aws-actions/configure-aws-credentials@v4
260260 with :
261261 role-skip-session-tagging : true
262262 role-to-assume : arn:aws:iam::890664054962:role/upload-playground-artifacts
0 commit comments