|
@ -24,14 +24,12 @@ jobs: |
|
|
timeout-minutes: 5 |
|
|
timeout-minutes: 5 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: technote-space/get-diff-action@v3 |
|
|
|
|
|
|
|
|
- uses: technote-space/get-diff-action@v4 |
|
|
with: |
|
|
with: |
|
|
SUFFIX_FILTER: | |
|
|
|
|
|
.go |
|
|
|
|
|
.mod |
|
|
|
|
|
.sum |
|
|
|
|
|
SET_ENV_NAME_INSERTIONS: 1 |
|
|
|
|
|
SET_ENV_NAME_LINES: 1 |
|
|
|
|
|
|
|
|
PATTERNS: | |
|
|
|
|
|
**/**.go |
|
|
|
|
|
go.mod |
|
|
|
|
|
go.sum |
|
|
- name: Set GOBIN |
|
|
- name: Set GOBIN |
|
|
run: | |
|
|
run: | |
|
|
echo "::add-path::$(go env GOPATH)/bin" |
|
|
echo "::add-path::$(go env GOPATH)/bin" |
|
@ -44,13 +42,13 @@ jobs: |
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} |
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} |
|
|
restore-keys: | |
|
|
restore-keys: | |
|
|
${{ runner.os }}-go- |
|
|
${{ runner.os }}-go- |
|
|
if: "env.GIT_DIFF != ''" |
|
|
|
|
|
|
|
|
if: env.GIT_DIFF |
|
|
# Cache binaries for use by other jobs |
|
|
# Cache binaries for use by other jobs |
|
|
- uses: actions/cache@v2.1.2 |
|
|
- uses: actions/cache@v2.1.2 |
|
|
with: |
|
|
with: |
|
|
path: ~/go/bin |
|
|
path: ~/go/bin |
|
|
key: ${{ runner.os }}-${{ github.sha }}-tm-binary |
|
|
key: ${{ runner.os }}-${{ github.sha }}-tm-binary |
|
|
if: "env.GIT_DIFF != ''" |
|
|
|
|
|
|
|
|
if: env.GIT_DIFF |
|
|
|
|
|
|
|
|
test_abci_apps: |
|
|
test_abci_apps: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
@ -58,14 +56,12 @@ jobs: |
|
|
timeout-minutes: 5 |
|
|
timeout-minutes: 5 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: technote-space/get-diff-action@v3 |
|
|
|
|
|
|
|
|
- uses: technote-space/get-diff-action@v4 |
|
|
with: |
|
|
with: |
|
|
SUFFIX_FILTER: | |
|
|
|
|
|
.go |
|
|
|
|
|
.mod |
|
|
|
|
|
.sum |
|
|
|
|
|
SET_ENV_NAME_INSERTIONS: 1 |
|
|
|
|
|
SET_ENV_NAME_LINES: 1 |
|
|
|
|
|
|
|
|
PATTERNS: | |
|
|
|
|
|
**/**.go |
|
|
|
|
|
go.mod |
|
|
|
|
|
go.sum |
|
|
- name: Set GOBIN |
|
|
- name: Set GOBIN |
|
|
run: | |
|
|
run: | |
|
|
echo "::add-path::$(go env GOPATH)/bin" |
|
|
echo "::add-path::$(go env GOPATH)/bin" |
|
@ -75,16 +71,16 @@ jobs: |
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} |
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} |
|
|
restore-keys: | |
|
|
restore-keys: | |
|
|
${{ runner.os }}-go- |
|
|
${{ runner.os }}-go- |
|
|
if: "env.GIT_DIFF != ''" |
|
|
|
|
|
|
|
|
if: env.GIT_DIFF |
|
|
- uses: actions/cache@v2.1.2 |
|
|
- uses: actions/cache@v2.1.2 |
|
|
with: |
|
|
with: |
|
|
path: ~/go/bin |
|
|
path: ~/go/bin |
|
|
key: ${{ runner.os }}-${{ github.sha }}-tm-binary |
|
|
key: ${{ runner.os }}-${{ github.sha }}-tm-binary |
|
|
if: "env.GIT_DIFF != ''" |
|
|
|
|
|
|
|
|
if: env.GIT_DIFF |
|
|
- name: test_abci_apps |
|
|
- name: test_abci_apps |
|
|
run: abci/tests/test_app/test.sh |
|
|
run: abci/tests/test_app/test.sh |
|
|
shell: bash |
|
|
shell: bash |
|
|
if: "env.GIT_DIFF != ''" |
|
|
|
|
|
|
|
|
if: env.GIT_DIFF |
|
|
|
|
|
|
|
|
test_abci_cli: |
|
|
test_abci_cli: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
@ -92,14 +88,12 @@ jobs: |
|
|
timeout-minutes: 5 |
|
|
timeout-minutes: 5 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: technote-space/get-diff-action@v3 |
|
|
|
|
|
|
|
|
- uses: technote-space/get-diff-action@v4 |
|
|
with: |
|
|
with: |
|
|
SUFFIX_FILTER: | |
|
|
|
|
|
.go |
|
|
|
|
|
.mod |
|
|
|
|
|
.sum |
|
|
|
|
|
SET_ENV_NAME_INSERTIONS: 1 |
|
|
|
|
|
SET_ENV_NAME_LINES: 1 |
|
|
|
|
|
|
|
|
PATTERNS: | |
|
|
|
|
|
**/**.go |
|
|
|
|
|
go.mod |
|
|
|
|
|
go.sum |
|
|
- name: Set GOBIN |
|
|
- name: Set GOBIN |
|
|
run: | |
|
|
run: | |
|
|
echo "::add-path::$(go env GOPATH)/bin" |
|
|
echo "::add-path::$(go env GOPATH)/bin" |
|
@ -109,15 +103,15 @@ jobs: |
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} |
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} |
|
|
restore-keys: | |
|
|
restore-keys: | |
|
|
${{ runner.os }}-go- |
|
|
${{ runner.os }}-go- |
|
|
if: "env.GIT_DIFF != ''" |
|
|
|
|
|
|
|
|
if: env.GIT_DIFF |
|
|
- uses: actions/cache@v2.1.2 |
|
|
- uses: actions/cache@v2.1.2 |
|
|
with: |
|
|
with: |
|
|
path: ~/go/bin |
|
|
path: ~/go/bin |
|
|
key: ${{ runner.os }}-${{ github.sha }}-tm-binary |
|
|
key: ${{ runner.os }}-${{ github.sha }}-tm-binary |
|
|
if: "env.GIT_DIFF != ''" |
|
|
|
|
|
|
|
|
if: env.GIT_DIFF |
|
|
- run: abci/tests/test_cli/test.sh |
|
|
- run: abci/tests/test_cli/test.sh |
|
|
shell: bash |
|
|
shell: bash |
|
|
if: "env.GIT_DIFF != ''" |
|
|
|
|
|
|
|
|
if: env.GIT_DIFF |
|
|
|
|
|
|
|
|
test_apps: |
|
|
test_apps: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
@ -125,14 +119,12 @@ jobs: |
|
|
timeout-minutes: 5 |
|
|
timeout-minutes: 5 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: technote-space/get-diff-action@v3 |
|
|
|
|
|
|
|
|
- uses: technote-space/get-diff-action@v4 |
|
|
with: |
|
|
with: |
|
|
SUFFIX_FILTER: | |
|
|
|
|
|
.go |
|
|
|
|
|
.mod |
|
|
|
|
|
.sum |
|
|
|
|
|
SET_ENV_NAME_INSERTIONS: 1 |
|
|
|
|
|
SET_ENV_NAME_LINES: 1 |
|
|
|
|
|
|
|
|
PATTERNS: | |
|
|
|
|
|
**/**.go |
|
|
|
|
|
go.mod |
|
|
|
|
|
go.sum |
|
|
- name: Set GOBIN |
|
|
- name: Set GOBIN |
|
|
run: | |
|
|
run: | |
|
|
echo "::add-path::$(go env GOPATH)/bin" |
|
|
echo "::add-path::$(go env GOPATH)/bin" |
|
@ -142,13 +134,13 @@ jobs: |
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} |
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} |
|
|
restore-keys: | |
|
|
restore-keys: | |
|
|
${{ runner.os }}-go- |
|
|
${{ runner.os }}-go- |
|
|
if: "env.GIT_DIFF != ''" |
|
|
|
|
|
|
|
|
if: env.GIT_DIFF |
|
|
- uses: actions/cache@v2.1.2 |
|
|
- uses: actions/cache@v2.1.2 |
|
|
with: |
|
|
with: |
|
|
path: ~/go/bin |
|
|
path: ~/go/bin |
|
|
key: ${{ runner.os }}-${{ github.sha }}-tm-binary |
|
|
key: ${{ runner.os }}-${{ github.sha }}-tm-binary |
|
|
if: "env.GIT_DIFF != ''" |
|
|
|
|
|
|
|
|
if: env.GIT_DIFF |
|
|
- name: test_apps |
|
|
- name: test_apps |
|
|
run: test/app/test.sh |
|
|
run: test/app/test.sh |
|
|
shell: bash |
|
|
shell: bash |
|
|
if: "env.GIT_DIFF != ''" |
|
|
|
|
|
|
|
|
if: env.GIT_DIFF |