Parallelize linter and test/build
This commit is contained in:
parent
e5101f7587
commit
45e07b0d72
|
@ -6,6 +6,17 @@ on:
|
|||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Go-linter
|
||||
# You may pin to the exact commit or the version.
|
||||
# uses: Jerome1337/golint-action@c5d17206a0a436bbf1edb91e314ed084f7c57589
|
||||
uses: https://github.com/Jerome1337/golint-action@v1.0.2
|
||||
#with:
|
||||
# Path used by golint command
|
||||
# golint-path: # optional, default is ./...
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -30,11 +41,3 @@ jobs:
|
|||
run: go test -v -cover ./...
|
||||
- name: Build
|
||||
run: goreleaser build --snapshot --rm-dist
|
||||
- name: Go-linter
|
||||
# You may pin to the exact commit or the version.
|
||||
# uses: Jerome1337/golint-action@c5d17206a0a436bbf1edb91e314ed084f7c57589
|
||||
uses: https://github.com/Jerome1337/golint-action@v1.0.2
|
||||
#with:
|
||||
# Path used by golint command
|
||||
# golint-path: # optional, default is ./...
|
||||
|
||||
|
|
Loading…
Reference in New Issue