Skip to content

Commit 06aded5

Browse files
authored
Merge pull request #856 from integer32llc/maint
2 parents 1fa8527 + f5753ba commit 06aded5

File tree

3 files changed

+65
-65
lines changed

3 files changed

+65
-65
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -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
@@ -59,7 +59,7 @@ jobs:
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
@@ -75,7 +75,7 @@ jobs:
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
@@ -91,7 +91,7 @@ jobs:
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/

.github/workflows/cron.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,26 @@ jobs:
2525
continue-on-error: true
2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
2929
- name: Set up Docker Buildx
30-
uses: docker/setup-buildx-action@v1
30+
uses: docker/setup-buildx-action@v2
3131
with:
3232
driver-opts: image=moby/buildkit:v0.9.1
3333
- name: Login to GitHub Container Registry
34-
uses: docker/login-action@v1
34+
uses: docker/login-action@v2
3535
with:
3636
registry: ghcr.io
3737
username: "${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
3838
password: "${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
3939
- name: Login to Docker Hub
40-
uses: docker/login-action@v1
40+
uses: docker/login-action@v2
4141
with:
4242
username: "${{ env.DOCKER_HUB_USERNAME }}"
4343
password: "${{ secrets.DOCKER_HUB_TOKEN }}"
4444
- name: Build and push 'toolchain' container
4545
env:
4646
TAG_PREFIX: "${{ env.IMAGE_NAME }}:toolchain"
47-
uses: docker/build-push-action@v2
47+
uses: docker/build-push-action@v3
4848
with:
4949
context: compiler/base/
5050
file: compiler/base/Dockerfile
@@ -60,7 +60,7 @@ jobs:
6060
- name: Build and push 'bare-sources' container
6161
env:
6262
TAG_PREFIX: "${{ env.IMAGE_NAME }}:bare-sources"
63-
uses: docker/build-push-action@v2
63+
uses: docker/build-push-action@v3
6464
with:
6565
context: compiler/base/
6666
file: compiler/base/Dockerfile
@@ -76,7 +76,7 @@ jobs:
7676
- name: Build and push 'munge' container
7777
env:
7878
TAG_PREFIX: "${{ env.IMAGE_NAME }}:munge"
79-
uses: docker/build-push-action@v2
79+
uses: docker/build-push-action@v3
8080
with:
8181
context: compiler/base/
8282
file: compiler/base/Dockerfile
@@ -92,7 +92,7 @@ jobs:
9292
- name: Build and push 'sources' container
9393
env:
9494
TAG_PREFIX: "${{ env.IMAGE_NAME }}:sources"
95-
uses: docker/build-push-action@v2
95+
uses: docker/build-push-action@v3
9696
with:
9797
context: compiler/base/
9898
file: compiler/base/Dockerfile
@@ -106,7 +106,7 @@ jobs:
106106
${{ env.TAG_PREFIX }}--latest
107107
cache-to: type=inline
108108
- name: Build and push container
109-
uses: docker/build-push-action@v2
109+
uses: docker/build-push-action@v3
110110
with:
111111
context: compiler/base/
112112
file: compiler/base/Dockerfile
@@ -144,24 +144,24 @@ jobs:
144144
continue-on-error: true
145145
steps:
146146
- name: Checkout code
147-
uses: actions/checkout@v2
147+
uses: actions/checkout@v3
148148
- name: Set up Docker Buildx
149-
uses: docker/setup-buildx-action@v1
149+
uses: docker/setup-buildx-action@v2
150150
with:
151151
driver-opts: image=moby/buildkit:v0.9.1
152152
- name: Login to GitHub Container Registry
153-
uses: docker/login-action@v1
153+
uses: docker/login-action@v2
154154
with:
155155
registry: ghcr.io
156156
username: "${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
157157
password: "${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
158158
- name: Login to Docker Hub
159-
uses: docker/login-action@v1
159+
uses: docker/login-action@v2
160160
with:
161161
username: "${{ env.DOCKER_HUB_USERNAME }}"
162162
password: "${{ secrets.DOCKER_HUB_TOKEN }}"
163163
- name: Build and push container
164-
uses: docker/build-push-action@v2
164+
uses: docker/build-push-action@v3
165165
with:
166166
context: compiler/${{ matrix.tool }}/
167167
file: compiler/${{ matrix.tool }}/Dockerfile

0 commit comments

Comments
 (0)