Skip to content

Commit d934057

Browse files
committed
CI: use ubuntu-24.04
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 50fa7de commit d934057

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
#
1717
project:
1818
name: Project Checks
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-24.04
2020
timeout-minutes: 5
2121

2222
steps:
@@ -42,7 +42,7 @@ jobs:
4242

4343
strategy:
4444
matrix:
45-
os: [ubuntu-22.04, macos-12, windows-2019, windows-2022]
45+
os: [ubuntu-24.04, macos-12, windows-2019, windows-2022]
4646

4747
steps:
4848
- name: Set up Go
@@ -87,7 +87,7 @@ jobs:
8787
working-directory: src/github.com/containerd/continuity
8888
cross:
8989
name: Cross-compile
90-
runs-on: ubuntu-22.04
90+
runs-on: ubuntu-24.04
9191
timeout-minutes: 10
9292
needs: [project]
9393

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323

24-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-24.04
2525

2626
timeout-minutes: 30
2727

fs/copy_linux_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ func TestCopyReflinkWithXFS(t *testing.T) {
8686
t.Fatal(err)
8787
}
8888
t.Logf("Loopback file size (after copying a %d-byte file): %d", aSize, loopbackSize)
89-
allowedSize := int64(120 << 20) // 120MB
89+
// 170 MiB is needed since Ubuntu 24.04. 120 MiB was enough for Ubuntu 22.04.
90+
allowedSize := int64(170 << 20)
9091
if loopbackSize > allowedSize {
9192
t.Fatalf("expected <= %d, got %d", allowedSize, loopbackSize)
9293
}

0 commit comments

Comments
 (0)