Skip to content

Commit bf5e7f8

Browse files
Merge pull request #591 from ruby/katei/update-ci-os
ci: Update to Ubuntu 24.04
2 parents 0fa0c92 + 9b62993 commit bf5e7f8

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/build.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323

2424
jobs:
2525
lint:
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-24.04
2727
if: ${{ github.event_name == 'pull_request' }}
2828
steps:
2929
- uses: actions/checkout@v4
@@ -47,7 +47,7 @@ jobs:
4747
entry:
4848
- { target: wasm32-unknown-wasip1 }
4949
- { target: wasm32-unknown-emscripten }
50-
runs-on: ubuntu-20.04
50+
runs-on: ubuntu-24.04
5151
steps:
5252
- uses: actions/checkout@v4
5353
- uses: docker/setup-buildx-action@v3
@@ -70,7 +70,7 @@ jobs:
7070
cache-to: type=gha,mode=max
7171

7272
build-rake-task-matrix:
73-
runs-on: ubuntu-20.04
73+
runs-on: ubuntu-24.04
7474
outputs:
7575
entries: ${{ steps.set-matrix.outputs.entries }}
7676
steps:
@@ -99,7 +99,7 @@ jobs:
9999
matrix:
100100
entry: ${{ fromJson(needs.build-rake-task-matrix.outputs.entries) }}
101101
needs: [build-rake-task-matrix]
102-
runs-on: ubuntu-20.04
102+
runs-on: ubuntu-24.04
103103
steps:
104104
- uses: actions/checkout@v4
105105
with:
@@ -152,6 +152,10 @@ jobs:
152152
with:
153153
ruby-version: "3.4.1"
154154
bundler-cache: false
155+
- uses: actions/setup-node@v4
156+
if: ${{ matrix.entry.test != '' }}
157+
with:
158+
node-version: 22
155159
- name: rake ${{ matrix.entry.test }}
156160
run: |
157161
bundle install --with=check --without=development
@@ -160,7 +164,7 @@ jobs:
160164

161165
release-artifacts:
162166
needs: [rake-tasks]
163-
runs-on: ubuntu-20.04
167+
runs-on: ubuntu-24.04
164168
if: ${{ startsWith(github.ref, 'refs/tags/') || inputs.publish }}
165169
steps:
166170
- uses: actions/checkout@v4

.github/workflows/nightly-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
create-nightly-tag:
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-24.04
1515
outputs:
1616
tag-name: ${{ steps.generate-tag.outputs.TAG_NAME }}
1717
steps:

0 commit comments

Comments
 (0)