Skip to content

Commit bab8d51

Browse files
committed
Update workflows to use Ubuntu 24.04 for CI and release jobs
Signed-off-by: Yun Pan <[email protected]>
1 parent 1fe18f5 commit bab8d51

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/api-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
check:
1616
name: Check Signed Tag
1717
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/api/v')
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-24.04
1919
timeout-minutes: 5
2020
outputs:
2121
stringver: ${{ steps.contentrel.outputs.stringver }}
@@ -66,7 +66,7 @@ jobs:
6666
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/api/v')
6767
permissions:
6868
contents: write
69-
runs-on: ubuntu-20.04
69+
runs-on: ubuntu-24.04
7070
timeout-minutes: 10
7171
needs: [check]
7272
steps:

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
strategy:
2828
matrix:
29-
os: [ubuntu-20.04, ubuntu-24.04-arm, macos-13, windows-2022]
29+
os: [ubuntu-24.04, ubuntu-24.04-arm, macos-13, windows-2022]
3030

3131
steps:
3232
- uses: actions/checkout@v4
@@ -43,7 +43,7 @@ jobs:
4343
#
4444
project:
4545
name: Project Checks
46-
runs-on: ubuntu-20.04
46+
runs-on: ubuntu-24.04
4747
timeout-minutes: 5
4848

4949
steps:
@@ -71,7 +71,7 @@ jobs:
7171
#
7272
protos:
7373
name: Protobuf
74-
runs-on: ubuntu-20.04
74+
runs-on: ubuntu-24.04
7575
timeout-minutes: 5
7676

7777
defaults:
@@ -105,7 +105,7 @@ jobs:
105105

106106
man:
107107
name: Manpages
108-
runs-on: ubuntu-20.04
108+
runs-on: ubuntu-24.04
109109
timeout-minutes: 5
110110

111111
steps:
@@ -119,7 +119,7 @@ jobs:
119119
crossbuild:
120120
name: Crossbuild Binaries
121121
needs: [project, linters, protos, man]
122-
runs-on: ubuntu-20.04
122+
runs-on: ubuntu-24.04
123123
timeout-minutes: 10
124124
strategy:
125125
fail-fast: false
@@ -191,7 +191,7 @@ jobs:
191191

192192
strategy:
193193
matrix:
194-
os: [ubuntu-20.04, ubuntu-24.04-arm, macos-13, windows-2022]
194+
os: [ubuntu-24.04, ubuntu-24.04-arm, macos-13, windows-2022]
195195
go-version: ["1.23.7", "1.24.1"]
196196
steps:
197197
- uses: actions/checkout@v4
@@ -392,7 +392,7 @@ jobs:
392392
- io.containerd.runc.v2
393393
runc: [runc, crun]
394394
enable_cri_sandboxes: ["", "sandboxed"]
395-
os: [ubuntu-20.04, ubuntu-24.04-arm]
395+
os: [ubuntu-24.04, ubuntu-24.04-arm]
396396
exclude:
397397
- runtime: io.containerd.runc.v1
398398
runc: crun

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
check:
2323
name: Check Signed Tag
2424
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
25-
runs-on: ubuntu-20.04
25+
runs-on: ubuntu-24.04
2626
timeout-minutes: 5
2727
outputs:
2828
stringver: ${{ steps.contentrel.outputs.stringver }}
@@ -67,7 +67,7 @@ jobs:
6767

6868
build:
6969
name: Build Release Binaries
70-
runs-on: ubuntu-20.04
70+
runs-on: ubuntu-24.04
7171
timeout-minutes: 30
7272
strategy:
7373
matrix:
@@ -140,7 +140,7 @@ jobs:
140140
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
141141
permissions:
142142
contents: write
143-
runs-on: ubuntu-20.04
143+
runs-on: ubuntu-24.04
144144
timeout-minutes: 10
145145
needs: [build, check]
146146
steps:

0 commit comments

Comments
 (0)