Skip to content

Commit 9c8c2dd

Browse files
committed
all: set Go language version to Go 1.22
Go 1.24 was released recently. Change-Id: I4e2c83c6cc90a3c7e996f8e6ba6ee7f8589596ee Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/649135 Reviewed-by: Chressie Himpel <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 1719d63 commit 9c8c2dd

File tree

6 files changed

+9
-205
lines changed

6 files changed

+9
-205
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module google.golang.org/protobuf
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
github.com/golang/protobuf v1.5.0

integration_test.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ var (
4040
// This matches the version policy of the Google Cloud Client Libraries:
4141
// https://cloud.google.com/go/getting-started/supported-go-versions
4242
return []string{
43-
"1.21.13",
44-
"1.22.6",
45-
"1.23.0",
43+
"1.22.12",
44+
"1.23.6",
45+
"1.24.0",
4646
}
4747
}()
4848
golangLatest = golangVersions[len(golangVersions)-1]
4949

50-
staticcheckVersion = "2024.1.1"
50+
staticcheckVersion = "2025.1"
5151
staticcheckSHA256s = map[string]string{
52-
"darwin/amd64": "b67380b84b81d5765b478b7ad888dd7ce53b2c0861103bafa946ac84dc9244ce",
53-
"darwin/arm64": "09cb10e4199f7c6356c2ed5dc45e877c3087ef775d84d39338b52e1a94866074",
54-
"linux/386": "0225fd8b5cf6c762f9c0aedf1380ed4df576d1d54fb68691be895889e10faf0b",
55-
"linux/amd64": "6e9398fcaff2b36e1d15e84a647a3a14733b7c2dd41187afa2c182a4c3b32180",
52+
"darwin/amd64": "b9c82a0bdcf0bd7b5c46524d7e58323f17998b2e15ecacba608ac21be9fa345d",
53+
"darwin/arm64": "1fc58b389de90e1e220fd23489dc685fc3e6435266f3c20c914f56a98f99844c",
54+
"linux/386": "58f7e465f7c15f70cea0b940e530826031d414b37ebdd40b073b2ca215171b42",
55+
"linux/amd64": "b0f4a46bab253bda0d9e874abcd988453c95f3ed849e617c34123c37c11a0604",
5656
}
5757

5858
// purgeTimeout determines the maximum age of unused sub-directories.

internal/strs/strings_unsafe_go121.go renamed to internal/strs/strings_unsafe.go

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build go1.21
6-
75
package strs
86

97
import (

internal/strs/strings_unsafe_go120.go

-94
This file was deleted.

reflect/protoreflect/value_unsafe_go121.go renamed to reflect/protoreflect/value_unsafe.go

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build go1.21
6-
75
package protoreflect
86

97
import (

reflect/protoreflect/value_unsafe_go120.go

-98
This file was deleted.

0 commit comments

Comments
 (0)