Skip to content

Commit

Permalink
all: set Go language version to Go 1.22
Browse files Browse the repository at this point in the history
Go 1.24 was released recently.

Change-Id: I4e2c83c6cc90a3c7e996f8e6ba6ee7f8589596ee
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/649135
Reviewed-by: Chressie Himpel <chressie@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
  • Loading branch information
stapelberg committed Feb 13, 2025
1 parent 1719d63 commit 9c8c2dd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 205 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module google.golang.org/protobuf

go 1.21
go 1.22

require (
github.com/golang/protobuf v1.5.0
Expand Down
16 changes: 8 additions & 8 deletions integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ var (
// This matches the version policy of the Google Cloud Client Libraries:
// https://cloud.google.com/go/getting-started/supported-go-versions
return []string{
"1.21.13",
"1.22.6",
"1.23.0",
"1.22.12",
"1.23.6",
"1.24.0",
}
}()
golangLatest = golangVersions[len(golangVersions)-1]

staticcheckVersion = "2024.1.1"
staticcheckVersion = "2025.1"
staticcheckSHA256s = map[string]string{
"darwin/amd64": "b67380b84b81d5765b478b7ad888dd7ce53b2c0861103bafa946ac84dc9244ce",
"darwin/arm64": "09cb10e4199f7c6356c2ed5dc45e877c3087ef775d84d39338b52e1a94866074",
"linux/386": "0225fd8b5cf6c762f9c0aedf1380ed4df576d1d54fb68691be895889e10faf0b",
"linux/amd64": "6e9398fcaff2b36e1d15e84a647a3a14733b7c2dd41187afa2c182a4c3b32180",
"darwin/amd64": "b9c82a0bdcf0bd7b5c46524d7e58323f17998b2e15ecacba608ac21be9fa345d",
"darwin/arm64": "1fc58b389de90e1e220fd23489dc685fc3e6435266f3c20c914f56a98f99844c",
"linux/386": "58f7e465f7c15f70cea0b940e530826031d414b37ebdd40b073b2ca215171b42",
"linux/amd64": "b0f4a46bab253bda0d9e874abcd988453c95f3ed849e617c34123c37c11a0604",
}

// purgeTimeout determines the maximum age of unused sub-directories.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.21

package strs

import (
Expand Down
94 changes: 0 additions & 94 deletions internal/strs/strings_unsafe_go120.go

This file was deleted.

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

//go:build go1.21

package protoreflect

import (
Expand Down
98 changes: 0 additions & 98 deletions reflect/protoreflect/value_unsafe_go120.go

This file was deleted.

0 comments on commit 9c8c2dd

Please sign in to comment.