-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump go to v1.23 (from v1.21) (#2132)
* Switch the go-setup actions to get the version from go.mod. * Remove the go version steps from the sims workflow since the go setup action does that now. * In Makefile: Add validate-go-version go the install target. Replace direct uses of the 'go' command with the $(GO) variable. * Remove the explicit go cache steps from the sims workflow since go setup does that automatically now. * Remove the explicit runsim install step since the make targets that need it are doing it on their own still anyway. * Switch to go 1.23 in go.mod and update the Makefile to require go 1.23 (instead of 1.21). * Update all the docker files to use golang:1.23-bullseye (from golang:1.21-bullseye). * Remove internal/collections/maps.go since that functionality is in go by default now. * Update the documentation to indicate go 1.23 is needed now. * Add a changelog entry and create a summary.md that tells about the bump (since it's a pretty important change to note). * Bump golangci-lint to v1.60.2. * Fix all the new lint errors. Lots of integer casting problems were found. * Fix TestIntBetween because I accidentally deleted a sort line when getting rid of our copy of the Keys function. * In the heighliner job, try setting up go with the correct version. It's currently using v1.22 which causes make install to fail. * Remove go setup from that job because it didn't help (kind of didn't expect it to anyway). * In the heighliner job, try setting the BASE_VERSION env var to the needed golang version since the dockerfile might pick up on it. * Remove the BASE_VERSION env var from the heighliner job since it's not the problem. Digging into their stuff, they don't yet have support for go v1.23, so we'll just have to wait. * Include the golangci-lint bump in the changelog stuff.
- Loading branch information
1 parent
d4c3b76
commit c702324
Showing
56 changed files
with
166 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* Bump `go` to 1.23 (from 1.21) [#2132](https://github.com/provenance-io/provenance/pull/2132). | ||
* Bump `golangci-lint` to v1.60.2 (from v1.54.2) [#2132](https://github.com/provenance-io/provenance/pull/2132). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Building or installing `provenanced` from source now requires you to use [Go 1.23](https://golang.org/dl/). | ||
Linting now requires `golangci-lint` v1.60.2. You can update yours using `make golangci-lint-update` or install it using `make golangci-lint`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/provenance-io/provenance | ||
|
||
go 1.21 | ||
go 1.23 | ||
|
||
require ( | ||
cosmossdk.io/api v0.7.5 | ||
|
Oops, something went wrong.