Parallelize linter and test/build
build Details
lint Details

This commit is contained in:
Marcel M. Otte 2023-05-12 16:09:33 +02:00
parent e5101f7587
commit 45e07b0d72
1 changed files with 12 additions and 9 deletions

View File

@ -6,7 +6,18 @@ 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
steps:
@ -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 ./...