Skip to content

Commit 9321d2c

Browse files
jjbustamanteclaude
andauthored
Bump to go 1.25 (#2480)
Build and lint using go 1.25 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Juan Bustamante <bustamantejj@gmail.com> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 53ab88c commit 9321d2c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up go
1818
uses: actions/setup-go@v6
1919
with:
20-
go-version: 1.24
20+
go-version: 1.25
2121
check-latest: true
2222
go-version-file: 'go.mod'
2323
- name: Set up go env

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG base_image=gcr.io/distroless/static
22

3-
FROM golang:1.24 as builder
3+
FROM golang:1.25 as builder
44
ARG pack_version
55
ENV PACK_VERSION=$pack_version
66
WORKDIR /app

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ install-golangci-lint:
164164

165165
## mod-tidy: Tidy Go modules
166166
mod-tidy:
167-
$(GOCMD) mod tidy -compat=1.24
168-
cd tools && $(GOCMD) mod tidy -compat=1.24
167+
$(GOCMD) mod tidy -compat=1.25
168+
cd tools && $(GOCMD) mod tidy -compat=1.25
169169

170170
## tidy: Tidy modules and format the code
171171
tidy: mod-tidy format

internal/build/testdata/fake-lifecycle/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ require (
8282
google.golang.org/protobuf v1.36.10 // indirect
8383
)
8484

85-
go 1.23
85+
go 1.23.0

tools/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/buildpacks/pack/tools
22

3-
go 1.24.0
3+
go 1.25.0
44

5-
toolchain go1.24.2
5+
toolchain go1.25.3
66

77
require (
88
github.com/golang/mock v1.6.0

0 commit comments

Comments
 (0)