-
Notifications
You must be signed in to change notification settings - Fork 692
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 1.19 * Bump Go to 1.20 * update docs * Update docs/getting-started/installation.md Co-authored-by: lg <[email protected]> * bump golangci in gh workflow * set actions/checkout version back to v3.5.2 * change go-version from 1.20 to 1.20.x in actions/setup-go * nit in gh workflow * first attempt to use two diff go version in gh workflows * 2nd attempt * update changelog * set user in e2e.Dockerfile * Run E2E docker containers using nonroot * update revive linter rules * revert changes in e2e.Dockerfile * attempt to fix gh workflow and sonarcloud error --------- Co-authored-by: lg <[email protected]> (cherry picked from commit cb523c0) # Conflicts: # .github/workflows/lint.yml # .github/workflows/sim-label.yml # .github/workflows/sims.yml # .github/workflows/test.yml
- Loading branch information
1 parent
321d15a
commit e50fd86
Showing
17 changed files
with
89 additions
and
27 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 |
---|---|---|
|
@@ -17,10 +17,15 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
<<<<<<< HEAD | ||
go-version: 1.19 | ||
- uses: actions/[email protected] | ||
======= | ||
go-version: 1.20.x | ||
- uses: actions/[email protected] | ||
>>>>>>> cb523c0 (build: bump Go to v1.20 (#2409)) | ||
- 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/[email protected] | ||
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/[email protected] | ||
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/[email protected] | ||
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,8 +33,13 @@ jobs: | |
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
<<<<<<< HEAD | ||
go-version: 1.18 | ||
- uses: actions/[email protected] | ||
======= | ||
go-version: 1.20.x | ||
- uses: actions/[email protected] | ||
>>>>>>> cb523c0 (build: bump Go to v1.20 (#2409)) | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
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@v3 | ||
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/[email protected] | ||
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@v3 | ||
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/[email protected] | ||
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,9 +107,15 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
<<<<<<< HEAD | ||
go-version: 1.18 | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
======= | ||
go-version: 1.20.x | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
>>>>>>> cb523c0 (build: bump Go to v1.20 (#2409)) | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
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/[email protected] | ||
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,8 +70,13 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
<<<<<<< HEAD | ||
go-version: 1.18 | ||
- uses: actions/[email protected] | ||
======= | ||
go-version: 1.20.x | ||
- uses: actions/[email protected] | ||
>>>>>>> cb523c0 (build: bump Go to v1.20 (#2409)) | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
@@ -90,7 +95,7 @@ jobs: | |
- uses: actions/[email protected] | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.20.x | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
@@ -117,21 +122,31 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
<<<<<<< HEAD | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18 | ||
======= | ||
>>>>>>> cb523c0 (build: bump Go to v1.20 (#2409)) | ||
- 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-rc3 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ env: | |
|
||
before: | ||
hooks: | ||
- go mod tidy -compat=1.18 | ||
- go mod tidy -compat=1.20 | ||
|
||
builds: | ||
- main: ./cmd/gaiad | ||
|
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