mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 13:05:09 +00:00
tests: use github.sha in binary cache key (#5062)
This commit is contained in:
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@@ -45,11 +45,11 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-go-
|
${{ runner.os }}-go-
|
||||||
if: "env.GIT_DIFF != ''"
|
if: "env.GIT_DIFF != ''"
|
||||||
# Cache bin
|
# Cache binaries for use by other jobs
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/go/bin
|
path: ~/go/bin
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-tm-binary
|
key: ${{ runner.os }}-${{ github.sha }}-tm-binary
|
||||||
if: "env.GIT_DIFF != ''"
|
if: "env.GIT_DIFF != ''"
|
||||||
|
|
||||||
test_abci_apps:
|
test_abci_apps:
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/go/bin
|
path: ~/go/bin
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-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
|
||||||
@@ -113,7 +113,7 @@ jobs:
|
|||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/go/bin
|
path: ~/go/bin
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-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
|
||||||
@@ -146,7 +146,7 @@ jobs:
|
|||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/go/bin
|
path: ~/go/bin
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-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
|
||||||
|
|||||||
Reference in New Issue
Block a user