-
Notifications
You must be signed in to change notification settings - Fork 692
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
build: bump Go to v1.20 #2409
Merged
Merged
build: bump Go to v1.20 #2409
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
8a7e5db
bump Go to 1.19
sainoe d6b360e
Bump Go to 1.20
sainoe 26d02be
update docs
sainoe a548a5c
Update docs/getting-started/installation.md
sainoe 109ba35
bump golangci in gh workflow
sainoe 86b8938
remove actions/checkout bump
sainoe c91516f
set actions/checkout version back to v3.5.2
sainoe 3be27be
change go-version from 1.20 to 1.20.x in actions/setup-go
sainoe fa27f49
nit in gh workflow
sainoe afad700
first attempt to use two diff go version in gh workflows
sainoe 30a3f2f
2nd attempt
sainoe b3b7e12
update changelog
sainoe 14bf36e
set user in e2e.Dockerfile
sainoe 1ce3703
Run E2E docker containers using nonroot
sainoe ecc515a
update revive linter rules
sainoe d90a6b6
revert changes in e2e.Dockerfile
sainoe e840744
attempt to fix gh workflow and sonarcloud error
sainoe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -17,10 +17,10 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
go-version: 1.20.x | ||
- uses: actions/[email protected] | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version | ||
version: v1.51.2 | ||
version: v1.52.2 |
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- name: Install runsim | ||
run: go install github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/[email protected] | ||
|
@@ -65,7 +65,7 @@ jobs: | |
- uses: actions/[email protected] | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- name: Install runsim | ||
run: go install github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/[email protected] | ||
|
@@ -33,7 +33,7 @@ jobs: | |
- uses: actions/[email protected] | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- uses: actions/[email protected] | ||
with: | ||
path: ~/go/bin | ||
|
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- name: Install runsim | ||
run: go install github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/[email protected] | ||
|
@@ -36,7 +36,7 @@ jobs: | |
- uses: actions/[email protected] | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
@@ -60,7 +60,7 @@ jobs: | |
- uses: actions/[email protected] | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- uses: technote-space/get-diff-action@v6 | ||
with: | ||
PATTERNS: | | ||
|
@@ -82,7 +82,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- name: Install runsim | ||
run: go install github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/[email protected] | ||
|
@@ -107,7 +107,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
${{ runner.os }}-go- | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- name: test & coverage report creation | ||
run: | | ||
go test -v -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... $(go list ./... | grep -v -e '/tests/e2e') | ||
|
@@ -70,7 +70,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- uses: actions/[email protected] | ||
- uses: technote-space/[email protected] | ||
with: | ||
|
@@ -90,7 +90,7 @@ jobs: | |
- uses: actions/[email protected] | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
@@ -117,21 +117,25 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
**/**.go | ||
go.mod | ||
go.sum | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
- name: Install GaiaV8 | ||
run: | | ||
git checkout v8.0.0 | ||
make build | ||
cp ./build/gaiad ./build/gaiad8 | ||
go clean -modcache | ||
if: env.GIT_DIFF | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.20.x | ||
- name: Install GaiaV9 | ||
run: | | ||
git checkout - | ||
|
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/cosmos/gaia/v9 | ||
|
||
go 1.18 | ||
go 1.20 | ||
|
||
require ( | ||
github.com/cosmos/cosmos-sdk v0.45.15-ics | ||
|
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this version 1.18?