Skip to content

Commit c6a32a7

Browse files
committed
build: bump minimum Go version to 1.24
os.Root, used to bound all tar extraction operations within the extraction root at the kernel level using openat(2) semantics, was introduced in Go 1.24. Update go.mod and the CI test matrix to require 1.24 as the oldest supported version. Signed-off-by: Cesar Talledo <cesar.talledo@docker.com>
1 parent bf06cec commit c6a32a7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
go-version:
17-
- 1.23.x # oldest supported (see go.mod)
17+
- 1.24.x # oldest supported (see go.mod)
1818
- oldstable
1919
- stable
2020
os: [ubuntu-latest, windows-latest, macos-latest]

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/moby/go-archive
22

3-
go 1.23.0
3+
go 1.24.0
44

55
require (
66
github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6

0 commit comments

Comments
 (0)