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