Skip to content

Commit

Permalink
chore: bump to Go 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Aug 15, 2024
1 parent d1305ea commit fdd2119
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 29 deletions.
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
2 changes: 1 addition & 1 deletion ignite/pkg/cosmosanalysis/app/testdata/modules/juno/go.mod
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
2 changes: 1 addition & 1 deletion ignite/pkg/cosmosver/testdata/chain-sdk-local-fork/go.mod
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

0 comments on commit fdd2119

Please sign in to comment.