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"
|
- "linter"
|
||||||
- "build"
|
- "build"
|
||||||
|
|
||||||
go-linter:
|
linter:
|
||||||
stage: "linter"
|
stage: "linter"
|
||||||
image: "golangci/golangci-lint:latest-alpine"
|
image: "golangci/golangci-lint:latest-alpine"
|
||||||
script:
|
script:
|
||||||
- "golangci-lint run"
|
- "golangci-lint run"
|
||||||
|
|
||||||
go-build:
|
build:
|
||||||
stage: "build"
|
stage: "build"
|
||||||
needs:
|
needs:
|
||||||
- "linter"
|
- "linter"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue