Skip to content

Commit

Permalink
use a separate job for golangci-lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Aug 6, 2020
1 parent bb25a7d commit 4b801bd
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ on:
branches: [ master ]

jobs:
lint:
name: Lint
runs-on: ubuntu-18.04
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Check code quality
uses: golangci/golangci-lint-action@v1
with:
version: v1.27

build:
name: Build
Expand Down Expand Up @@ -37,7 +48,3 @@ jobs:
make test
make build
- name: Check code quality
uses: golangci/golangci-lint-action@v1
with:
version: v1.27

0 comments on commit 4b801bd

Please sign in to comment.