ci: added linter stage

This commit is contained in:
Simon Cornet 2025-03-04 06:46:13 +01:00
commit 3597e0fff6

View file

@ -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"