-
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.
- Loading branch information
1 parent
c92b072
commit 0dc99e7
Showing
3 changed files
with
40 additions
and
53 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
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 |
---|---|---|
|
@@ -16,14 +16,11 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup env for GO | ||
run: | | ||
echo "::add-path::$(go env GOPATH)/bin" | ||
echo "::set-env name=GO111MODULE::"on"" | ||
shell: bash | ||
- name: install runsim | ||
run: | | ||
go get github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- name: Install runsim | ||
run: export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/go/bin | ||
|
@@ -33,18 +30,16 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: Build | ||
steps: | ||
- name: Setup env for GO | ||
run: echo "::add-path::$(go env GOPATH)/bin" | ||
shell: bash | ||
- uses: actions/checkout@v2 | ||
- uses: technote-space/get-diff-action@v1 | ||
- uses: actions/[email protected] | ||
with: | ||
SUFFIX_FILTER: | | ||
go-version: 1.15 | ||
- uses: technote-space/get-diff-action@v4 | ||
with: | ||
PATTERN: | | ||
.go | ||
.mod | ||
.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/go/bin | ||
|
@@ -59,18 +54,16 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: Build | ||
steps: | ||
- uses: technote-space/get-diff-action@v1 | ||
- uses: technote-space/get-diff-action@v4 | ||
with: | ||
SUFFIX_FILTER: | | ||
PATTERN: | | ||
.go | ||
.mod | ||
.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- name: Setup env for GO | ||
run: echo "::add-path::$(go env GOPATH)/bin" | ||
shell: bash | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/go/bin | ||
|
@@ -85,19 +78,16 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: Build | ||
steps: | ||
- name: Setup env for GO | ||
run: | | ||
echo "::add-path::$(go env GOPATH)/bin" | ||
shell: bash | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- uses: actions/checkout@v2 | ||
- uses: technote-space/get-diff-action@v1 | ||
- uses: technote-space/get-diff-action@v4 | ||
with: | ||
SUFFIX_FILTER: | | ||
PATTERN: | | ||
.go | ||
.mod | ||
.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/go/bin | ||
|
@@ -112,19 +102,17 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: Build | ||
steps: | ||
- name: Setup env for GO | ||
run: echo "::add-path::$(go env GOPATH)/bin" | ||
shell: bash | ||
- uses: actions/checkout@v2 | ||
- uses: technote-space/get-diff-action@v1 | ||
- uses: actions/[email protected] | ||
with: | ||
SUFFIX_FILTER: | | ||
go-version: 1.15 | ||
- uses: technote-space/get-diff-action@v4 | ||
with: | ||
PATTERNS: | | ||
.go | ||
.mod | ||
.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- uses: actions/cache@v1 | ||
- uses: actions/[email protected] | ||
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 |
---|---|---|
|
@@ -16,15 +16,16 @@ jobs: | |
test-coverage-upload: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- uses: actions/checkout@v2 | ||
- uses: technote-space/get-diff-action@v1 | ||
- uses: technote-space/get-diff-action@v4 | ||
with: | ||
SUFFIX_FILTER: | | ||
PATTERN: | | ||
.go | ||
.mod | ||
.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- name: build | ||
run: | | ||
make build | ||
|
@@ -52,18 +53,16 @@ jobs: | |
integration-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup env for GO | ||
run: echo "::add-path::$(go env GOPATH)/bin" | ||
shell: bash | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.15 | ||
- uses: actions/checkout@v2 | ||
- uses: technote-space/get-diff-action@v1 | ||
- uses: technote-space/get-diff-action@v4 | ||
with: | ||
SUFFIX_FILTER: | | ||
PATTERN: | | ||
.go | ||
.mod | ||
.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- name: Test CLI integration | ||
run: | | ||
make test-build | ||
|