ci: added linter stage
This commit is contained in:
parent
ea71b8a52e
commit
3597e0fff6
1 changed files with 2 additions and 2 deletions
|
|
@ -3,13 +3,13 @@ stages:
|
|||
- "linter"
|
||||
- "build"
|
||||
|
||||
go-linter:
|
||||
linter:
|
||||
stage: "linter"
|
||||
image: "golangci/golangci-lint:latest-alpine"
|
||||
script:
|
||||
- "golangci-lint run"
|
||||
|
||||
go-build:
|
||||
build:
|
||||
stage: "build"
|
||||
needs:
|
||||
- "linter"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue