forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace testutil.NewTestCaseDir() with Go1.15's T.TempDir() (cosmos#7014
- Loading branch information
Alessio Treglia
authored
Sep 18, 2020
1 parent
2715af3
commit 3e616a6
Showing
34 changed files
with
175 additions
and
263 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 |
---|---|---|
|
@@ -21,17 +21,24 @@ jobs: | |
if: "!contains(github.event.head_commit.message, 'skip-sims')" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
make build | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- run: make build | ||
|
||
install-runsim: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: install runsim | ||
run: | | ||
export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- name: Install runsim | ||
run: export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
path: ~/go/bin | ||
|
@@ -42,6 +49,11 @@ jobs: | |
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
with: | ||
SUFFIX_FILTER: | | ||
|
@@ -65,6 +77,11 @@ jobs: | |
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
with: | ||
SUFFIX_FILTER: | | ||
|
@@ -88,6 +105,11 @@ jobs: | |
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
with: | ||
SUFFIX_FILTER: | | ||
|
@@ -111,6 +133,11 @@ jobs: | |
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
with: | ||
SUFFIX_FILTER: | | ||
|
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/[email protected] | ||
with: | ||
go-version: 1.14 | ||
go-version: 1.15 | ||
- name: Unshallow | ||
run: git fetch --prune --unshallow | ||
- name: Create release | ||
|
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 |
---|---|---|
|
@@ -19,6 +19,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- name: install tparse | ||
run: | | ||
export GO111MODULE="on" && go get github.com/mfridman/[email protected] | ||
|
@@ -31,6 +35,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v1 | ||
id: git_diff | ||
with: | ||
|
@@ -48,6 +57,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- name: Create a file with all the pkgs | ||
run: go list ./... > pkgs.txt | ||
- name: Split pkgs into 4 files | ||
|
@@ -76,6 +90,11 @@ jobs: | |
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
id: git_diff | ||
with: | ||
|
@@ -113,6 +132,11 @@ jobs: | |
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
id: git_diff | ||
with: | ||
|
@@ -150,6 +174,11 @@ jobs: | |
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
id: git_diff | ||
with: | ||
|
@@ -187,6 +216,11 @@ jobs: | |
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
id: git_diff | ||
with: | ||
|
@@ -224,6 +258,11 @@ jobs: | |
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
id: git_diff | ||
with: | ||
|
@@ -249,6 +288,11 @@ jobs: | |
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
id: git_diff | ||
with: | ||
|
@@ -274,6 +318,11 @@ jobs: | |
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
id: git_diff | ||
with: | ||
|
@@ -299,6 +348,11 @@ jobs: | |
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v3 | ||
id: git_diff | ||
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
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
Oops, something went wrong.