Skip to content

Commit

Permalink
fix: Set go version to 1.22.4 on mod files. (#2474)
Browse files Browse the repository at this point in the history
If we do not specify a correct toolchain Go was failing with the
following error:

go: downloading go1.22 (linux/amd64)
go: download go1.22 for linux/amd64: toolchain not available

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
  • Loading branch information
ajnavarro authored Jul 1, 2024
1 parent e282618 commit 79a71a4
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contribs/gnodev/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/gnolang/gno/contribs/gnodev

go 1.22

toolchain go1.22.4

replace github.com/gnolang/gno => ../..

require (
Expand Down
2 changes: 2 additions & 0 deletions contribs/gnofaucet/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/gnolang/gno/contribs/gnofaucet

go 1.22

toolchain go1.22.4

require (
github.com/gnolang/faucet v0.2.1
github.com/gnolang/gno v0.0.0-20240429120125-3832b1312d7d
Expand Down
2 changes: 2 additions & 0 deletions contribs/gnokeykc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/gnolang/gno/contribs/gnokeykc

go 1.22

toolchain go1.22.4

replace github.com/gnolang/gno => ../..

require (
Expand Down
2 changes: 2 additions & 0 deletions contribs/gnomd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/gnolang/gno/contribs/gnomd

go 1.22

toolchain go1.22.4

require github.com/MichaelMure/go-term-markdown v0.1.4

require (
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/gnolang/gno

go 1.22

toolchain go1.22.4

require (
dario.cat/mergo v1.0.0
github.com/btcsuite/btcd/btcec/v2 v2.3.3
Expand Down
2 changes: 2 additions & 0 deletions misc/autocounterd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module loop

go 1.22

toolchain go1.22.4

require github.com/gnolang/gno v0.0.0-20240125181217-b6193518e278

require (
Expand Down
2 changes: 2 additions & 0 deletions misc/devdeps/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/gnolang/gno/misc/devdeps

go 1.22

toolchain go1.22.4

require (
github.com/golangci/golangci-lint v1.54.2 // sync with github action
golang.org/x/tools v0.12.0
Expand Down
2 changes: 2 additions & 0 deletions misc/docs-linter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module linter

go 1.22

toolchain go1.22.4

require (
github.com/gnolang/gno v0.0.0-20240516161351-0c9849a8ef0c
github.com/stretchr/testify v1.9.0
Expand Down
2 changes: 2 additions & 0 deletions misc/loop/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module loop

go 1.22

toolchain go1.22.4

require (
github.com/docker/docker v24.0.7+incompatible
github.com/docker/go-connections v0.4.0
Expand Down
2 changes: 2 additions & 0 deletions tm2/pkg/libtm/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/gnolang/libtm

go 1.22

toolchain go1.22.4

require (
github.com/rs/xid v1.5.0
github.com/stretchr/testify v1.9.0
Expand Down

0 comments on commit 79a71a4

Please sign in to comment.