Merge pull request #17393 from dusk125/go1.22

Migrate to go1.22
This commit is contained in:
Benjamin Wang 2024-03-07 10:15:10 +00:00 committed by GitHub
commit a481256c8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 23 additions and 23 deletions

View File

@ -2,23 +2,21 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/go
{
"name": "Go",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go:1.21-bookworm",
"image": "mcr.microsoft.com/devcontainers/go:1.22-bookworm",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {}
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [2379, 2380],
"forwardPorts": [
2379,
2380
],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "make build"
// Configure tool-specific properties.
// "customizations": {},
}
}

View File

@ -1 +1 @@
1.21.6
1.22.1

View File

@ -1,6 +1,6 @@
module go.etcd.io/etcd/api/v3
go 1.21
go 1.22
require (
github.com/coreos/go-semver v0.3.1

View File

@ -1,6 +1,6 @@
module go.etcd.io/etcd/client/v2
go 1.21
go 1.22
require (
go.etcd.io/etcd/api/v3 v3.6.0-alpha.0

View File

@ -1,6 +1,6 @@
module go.etcd.io/etcd/client/pkg/v3
go 1.21
go 1.22
require (
github.com/coreos/go-systemd/v22 v22.5.0

View File

@ -1,6 +1,6 @@
module go.etcd.io/etcd/client/v3
go 1.21
go 1.22
require (
github.com/coreos/go-semver v0.3.1

View File

@ -1,6 +1,6 @@
module go.etcd.io/etcd/etcdctl/v3
go 1.21
go 1.22
require (
github.com/bgentry/speakeasy v0.1.0

View File

@ -1,6 +1,6 @@
module go.etcd.io/etcd/etcdutl/v3
go 1.21
go 1.22
replace (
go.etcd.io/etcd/api/v3 => ../api

4
go.mod
View File

@ -1,6 +1,8 @@
module go.etcd.io/etcd/v3
go 1.21
go 1.22
toolchain go1.22.1
replace (
go.etcd.io/etcd/api/v3 => ./api

View File

@ -1,6 +1,6 @@
module go.etcd.io/etcd/pkg/v3
go 1.21
go 1.22
require (
github.com/creack/pty v1.1.18

View File

@ -1,6 +1,6 @@
module go.etcd.io/etcd/server/v3
go 1.21
go 1.22
require (
github.com/coreos/go-semver v0.3.1

View File

@ -1,6 +1,6 @@
module go.etcd.io/etcd/tests/v3
go 1.21
go 1.22
replace (
go.etcd.io/etcd/api/v3 => ../api

View File

@ -1,6 +1,6 @@
module go.etcd.io/etcd/tools/v3
go 1.21
go 1.22
require (
github.com/alexfalkowski/gocovmerge v1.2.6