Skip to content

Commit

Permalink
chore: auto linter
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Mar 6, 2020
1 parent 9896039 commit 0a77ce1
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/go-build-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Go Build & Test
name: Go CI

on:
push:
Expand All @@ -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

0 comments on commit 0a77ce1

Please sign in to comment.