feat: move linting to component

This commit is contained in:
Simon Cornet 2025-06-16 11:58:13 +02:00
commit b4cacd1e64

View file

@ -1,14 +1,8 @@
stages:
- "linter"
- "linting"
- "testing"
- "releasing"
linter:
stage: "linter"
image: "golangci/golangci-lint:latest-alpine"
script:
- "golangci-lint run"
testing:
stage: "testing"
needs:
@ -30,3 +24,10 @@ releasing:
GITLAB_TOKEN: '$GORELEASER_GITLAB_TOKEN'
script:
- "goreleaser release --clean"
# include jobs
include:
# linting
- component: "$CI_SERVER_FQDN/components/golanglint/golanglint@v1.0.0"