From afa8a8c4a35a6bdd873f1f2985be20699223ea75 Mon Sep 17 00:00:00 2001 From: YoyoFx Date: Mon, 27 Jul 2020 21:12:11 +0800 Subject: [PATCH 1/2] Update go.yml --- .github/workflows/go.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a3fcc0d3..4225081c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.13 + - name: Set up Go 1.14 uses: actions/setup-go@v1 with: - go-version: 1.13 + go-version: 1.14 id: go - name: Check out code into the Go module directory @@ -26,3 +26,9 @@ jobs: - name: Build run: go test -v ./Test/ + + - name: Invoke deployment hook + uses: joelwmale/webhook-action@1.0.0 + env: + WEBHOOK_URL: ${{ secrets.Dingding_WEBHOOK_URL }} + data: "{'deployment': 'finished', 'project': 'actions'}" From b881d8206dec7fca51bed8c0458b1eaf83af233e Mon Sep 17 00:00:00 2001 From: YoyoFx Date: Mon, 27 Jul 2020 21:14:13 +0800 Subject: [PATCH 2/2] Update go.yml --- .github/workflows/go.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4225081c..41689e6d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,8 +27,4 @@ jobs: - name: Build run: go test -v ./Test/ - - name: Invoke deployment hook - uses: joelwmale/webhook-action@1.0.0 - env: - WEBHOOK_URL: ${{ secrets.Dingding_WEBHOOK_URL }} - data: "{'deployment': 'finished', 'project': 'actions'}" +