ci: fix spacing of if statement (#5015)

## Description

This pr fixes the spacing of the if statement. It was working but throwing warnings. this aims to resolve that

Closes: #XXX
This commit is contained in:
Marko
2020-06-16 16:35:16 +02:00
committed by GitHub
parent 062764ae72
commit 812dddc5ce

View File

@@ -21,7 +21,7 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 4
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v1
@@ -44,7 +44,7 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
if: "env.GIT_DIFF != ''"
if: "env.GIT_DIFF != ''"
# Cache bin
- uses: actions/cache@v1
with:
@@ -55,7 +55,7 @@ jobs:
test_abci_apps:
runs-on: ubuntu-latest
needs: Build
timeout-minutes: 4
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v1
@@ -75,7 +75,7 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
if: "env.GIT_DIFF != ''"
if: "env.GIT_DIFF != ''"
- uses: actions/cache@v1
with:
path: ~/go/bin
@@ -89,7 +89,7 @@ jobs:
test_abci_cli:
runs-on: ubuntu-latest
needs: Build
timeout-minutes: 4
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v1
@@ -109,7 +109,7 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
if: "env.GIT_DIFF != ''"
if: "env.GIT_DIFF != ''"
- uses: actions/cache@v1
with:
path: ~/go/bin
@@ -122,7 +122,7 @@ jobs:
test_apps:
runs-on: ubuntu-latest
needs: Build
timeout-minutes: 4
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v1
@@ -142,7 +142,7 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
if: "env.GIT_DIFF != ''"
if: "env.GIT_DIFF != ''"
- uses: actions/cache@v1
with:
path: ~/go/bin