Skip to content

Commit

Permalink
move golangci to separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
ChihChengLiang committed Nov 11, 2020
1 parent 4136a58 commit ed0e9d2
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ on:
branches: [ master ]

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29

build:
name: Build
Expand All @@ -32,10 +41,5 @@ jobs:
- name: Build
run: make build

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29

- name: Test
run: go test -v ./...

0 comments on commit ed0e9d2

Please sign in to comment.