From 4e61c3ea734c390e5807c0eb540503f41eaea5c5 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 17 Dec 2019 16:19:30 -0800 Subject: [PATCH] Fix syntax --- .github/workflows/changelog.yml | 1 + .github/workflows/go.yml | 28 +++++++++++++--------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 11758036c..18aa15fe1 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -10,6 +10,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v1 + - name: Pull request merged if: git hub.event.pull_request.merged == true uses: ./.github/actions/changelog diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5e5521aa6..012babbad 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,25 +1,23 @@ name: Go on: [push] jobs: - build: name: Build runs-on: ubuntu-latest steps: + - name: Set up Go 1.13 + uses: actions/setup-go@v1 + with: + go-version: 1.13 + id: go - - name: Set up Go 1.13 - uses: actions/setup-go@v1 - with: - go-version: 1.13 - id: go + - name: Check out code into the Go module directory + uses: actions/checkout@v1 - - name: Check out code into the Go module directory - uses: actions/checkout@v1 + - name: Verify dependencies + run: go mod verify - - name: Verify dependencies - run: go mod verify - - - name: Build - run: | - go test ./... - go build -v . + - name: Build + run: | + go test ./... + go build -v .