Browse Source

ci: checkout code before git diff check (#4779)

pull/4781/head
Marko 5 years ago
committed by GitHub
parent
commit
ffc73ba03d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      .github/workflows/tests.yml

+ 3
- 3
.github/workflows/tests.yml View File

@ -19,6 +19,7 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v1
with:
SUFFIX_FILTER: |
@ -30,7 +31,6 @@ jobs:
- name: Set GOBIN
run: |
echo "::add-path::$(go env GOPATH)/bin"
- uses: actions/checkout@v2
- name: install
run: make install install_abci
if: "env.GIT_DIFF != ''"
@ -45,6 +45,7 @@ jobs:
runs-on: ubuntu-latest
needs: Build
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v1
with:
SUFFIX_FILTER: |
@ -56,7 +57,6 @@ jobs:
- name: Set GOBIN
run: |
echo "::add-path::$(go env GOPATH)/bin"
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/go/bin
@ -71,6 +71,7 @@ jobs:
runs-on: ubuntu-latest
needs: Build
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v1
with:
SUFFIX_FILTER: |
@ -82,7 +83,6 @@ jobs:
- name: Set GOBIN
run: |
echo "::add-path::$(go env GOPATH)/bin"
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/go/bin


Loading…
Cancel
Save