Skip to content

chore: Bump supported golang version in Quick Start Code Samples from 1.23 to 1.24 #5357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appengine/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/golang-samples/appengine

go 1.23.0
go 1.24.0

require (
cloud.google.com/go/cloudtasks v1.13.3
Expand Down
2 changes: 1 addition & 1 deletion appengine/go11x/helloworld/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

runtime: go123
runtime: go124
2 changes: 1 addition & 1 deletion appengine/go11x/helloworld/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/GoogleCloudPlatform/appengine/go11x/helloworld

go 1.23.0
go 1.24.0
2 changes: 1 addition & 1 deletion appengine_flexible/helloworld/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env: flex

runtime_config:
operating_system: 'ubuntu22'
runtime_version: 1.23
runtime_version: 1.24
# This sample incurs costs to run on the App Engine flexible environment.
# The settings below are to reduce costs during testing and are not appropriate
# for production use. For more information, see:
Expand Down
2 changes: 1 addition & 1 deletion appengine_flexible/helloworld/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/GoogleCloudPlatform/appengine_flexible/helloworld

go 1.23.0
go 1.24.0
2 changes: 1 addition & 1 deletion functions/functionsv2/hellopubsub/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/golang-samples/functions/functionsv2/hellopubsub

go 1.23.0
go 1.24.0

require (
github.com/GoogleCloudPlatform/functions-framework-go v1.8.1
Expand Down
2 changes: 1 addition & 1 deletion functions/functionsv2/helloworld/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/golang-samples/functions/functionsv2/helloworld

go 1.23.0
go 1.24.0

require github.com/GoogleCloudPlatform/functions-framework-go v1.8.1

Expand Down
2 changes: 1 addition & 1 deletion functions/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/GoogleCloudPlatform/golang-samples/functions

go 1.23.0
go 1.24.0
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/golang-samples

go 1.23.0
go 1.24.0

require (
cloud.google.com/go/batch v1.11.5
Expand Down
6 changes: 3 additions & 3 deletions go.work
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
go 1.23.0
go 1.24.0

toolchain go1.23.5
toolchain go1.24.2

use (
.
Expand Down Expand Up @@ -105,8 +105,8 @@ use (
./managedkafka
./media
./memorystore
./monitoring
./modelarmor
./monitoring
./opentelemetry/instrumentation/app
./opentelemetry/trace
./parametermanager
Expand Down
2 changes: 1 addition & 1 deletion run/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/golang-samples/run

go 1.23.0
go 1.24.0

require cloud.google.com/go/compute/metadata v0.6.0

Expand Down
2 changes: 1 addition & 1 deletion run/helloworld/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Use the official Go image to create a binary.
# This is based on Debian and sets the GOPATH to /go.
# https://hub.docker.com/_/golang
FROM golang:1.23-bookworm AS builder
FROM golang:1.24-bookworm AS builder

# Create and change to the app directory.
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion run/helloworld/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/GoogleCloudPlatform/golang-samples/run/helloworld

go 1.23.0
go 1.24.0
2 changes: 1 addition & 1 deletion run/jobs/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/GoogleCloudPlatform/golang-samples/run/jobs

go 1.23.0
go 1.24.0
2 changes: 1 addition & 1 deletion run/testing/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/golang-samples/run/testing

go 1.23.0
go 1.24.0

require (
github.com/GoogleCloudPlatform/golang-samples v0.0.0-00010101000000-000000000000
Expand Down
Loading