Skip to content
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

chore: bump to Go 1.23 #4302

Merged
merged 1 commit into from
Aug 16, 2024
Merged
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 .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM gitpod/workspace-full

# Go
ENV GO_VERSION=1.21.5
ENV GO_VERSION=1.23.0
ENV GOPATH=$HOME/go-packages
ENV GOROOT=$HOME/go
ENV PATH=$GOROOT/bin:$GOPATH/bin:$PATH
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/01-welcome/02-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Ignite CLI is supported for the following operating systems:

Ignite CLI is written in the Go programming language. To use Ignite CLI on a local system:

- Install [Go](https://golang.org/doc/install) (**version 1.21.1** or higher)
- Install [Go](https://golang.org/doc/install) (**version 1.23** or higher)
- Ensure the Go environment variables are [set properly](https://golang.org/doc/gopath_code#GOPATH) on your system

## Verify your Ignite CLI version
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v28/01-welcome/02-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Ignite CLI is supported for the following operating systems:

Ignite CLI is written in the Go programming language. To use Ignite CLI on a local system:

- Install [Go](https://golang.org/doc/install) (**version 1.21.1** or higher)
- Install [Go](https://golang.org/doc/install) (**version 1.21** or higher)
- Ensure the Go environment variables are [set properly](https://golang.org/doc/gopath_code#GOPATH) on your system

## Verify your Ignite CLI version
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/ignite/cli/v29

go 1.22

toolchain go1.22.3
go 1.23

replace (
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
Expand Down
4 changes: 1 addition & 3 deletions ignite/internal/plugin/testdata/execute_fail/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module execute_fail

go 1.22

toolchain go1.22.3
go 1.23

require (
github.com/hashicorp/go-plugin v1.6.0
Expand Down
4 changes: 1 addition & 3 deletions ignite/internal/plugin/testdata/execute_ok/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module execute_ok

go 1.22

toolchain go1.22.3
go 1.23

require (
github.com/hashicorp/go-plugin v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion ignite/internal/tools/gen-config-doc/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ignite/cli/ignite/internal/tools/gen-config-doc

go 1.22.2
go 1.23

replace github.com/ignite/cli/v29 => ../../../../

Expand Down
2 changes: 1 addition & 1 deletion ignite/internal/tools/gen-mig-diffs/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ignite/cli/ignite/internal/tools/gen-mig-diffs

go 1.22.2
go 1.23

replace github.com/ignite/cli/v29 => ../../../../

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/CosmosContracts/juno/v18

go 1.21
go 1.23

require (
cosmossdk.io/api v0.3.1
Expand Down
4 changes: 1 addition & 3 deletions ignite/pkg/cosmosanalysis/testdata/chain-sdk-fork/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module my-new-chain

go 1.21.1

toolchain go1.21.5
go 1.23

require (
cosmossdk.io/api v0.7.2
Expand Down
4 changes: 1 addition & 3 deletions ignite/pkg/cosmosver/testdata/chain-sdk-fork/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module my-new-chain

go 1.21.1

toolchain go1.21.5
go 1.23

require (
cosmossdk.io/api v0.7.2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module my-new-chain

go 1.21
go 1.23

replace github.com/cosmos/cosmos-sdk => ./my/local/fork/cosmos-sdk

Expand Down
2 changes: 1 addition & 1 deletion ignite/pkg/gomodule/testdata/module/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ignite/cli/ignite/pkg/gomodule

go 1.21.0
go 1.23

require (
github.com/gorilla/mux v1.8.0
Expand Down
2 changes: 1 addition & 1 deletion ignite/services/plugin/template/go.mod.plush
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module <%= AppName %>

go 1.21
go 1.23

require (
github.com/hashicorp/go-plugin v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion ignite/templates/app/files/go.mod.plush
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module <%= ModulePath %>

go 1.21
go 1.23

replace (
// fix upstream GHSA-h395-qcrw-5vmq vulnerability.
Expand Down
4 changes: 1 addition & 3 deletions integration/plugin/testdata/example-plugin/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module example-plugin

go 1.22

toolchain go1.22.3
go 1.23

require (
github.com/hashicorp/go-plugin v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/indocker
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function build {
echo "building container..."
docker build -t ignite-cli -f - > /dev/null . << EOF
FROM golang:1.21.5
FROM golang:1.23.0
WORKDIR /apps
Expand Down
Loading