From 0a77ce1613315ea403033193a9ca5fa7c53db73d Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Fri, 6 Mar 2020 22:15:10 +0800 Subject: [PATCH] chore: auto linter --- .github/workflows/go-build-test.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go-build-test.yml b/.github/workflows/go-build-test.yml index e89c710..9aa4834 100644 --- a/.github/workflows/go-build-test.yml +++ b/.github/workflows/go-build-test.yml @@ -1,4 +1,4 @@ -name: Go Build & Test +name: Go CI on: push: @@ -9,22 +9,29 @@ on: jobs: - build_and_test: + build-test: name: Build & Test runs-on: ubuntu-latest steps: - - 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@v2 - - name: Build run: go build -v ./... - - name: Test run: go test -v ./... + + go-linter: + name: Go Linter + runs-on: ubuntu-latest + steps: + - name: go1.13 linter + uses: shoukoo/golang-pipeline/go1.13/linter@master + with: + GOLINT: on + GOLINTPATH: . + MISSPELL: off