mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-16 09:38:49 +02:00
feat:#22 added golang lint job
This commit is contained in:
@ -15,6 +15,16 @@ lint-frontend:
|
||||
- npm i
|
||||
- npm run lint-no-fix
|
||||
|
||||
lint-backend:
|
||||
stage: lint
|
||||
image: golangci/golangci-lint:latest
|
||||
rules:
|
||||
- changes:
|
||||
- backend/**/*
|
||||
script:
|
||||
- golangci-lint run -v
|
||||
|
||||
|
||||
build-backend:
|
||||
image: golang:1.21-alpine
|
||||
stage: build
|
||||
|
Reference in New Issue
Block a user