feat: initial commit
This commit is contained in:
parent
693724d3b8
commit
1d8b4f27b1
2 changed files with 19 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
/logger
|
||||||
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
image: "golang:alpine"
|
||||||
|
stages:
|
||||||
|
- "linter"
|
||||||
|
- "testing"
|
||||||
|
|
||||||
|
linter:
|
||||||
|
stage: "linter"
|
||||||
|
image: "golangci/golangci-lint:latest-alpine"
|
||||||
|
script:
|
||||||
|
- "golangci-lint run"
|
||||||
|
|
||||||
|
testing:
|
||||||
|
stage: "testing"
|
||||||
|
needs:
|
||||||
|
- "linter"
|
||||||
|
image: "cr.simoncor.net/siempie/go-build:latest"
|
||||||
|
script:
|
||||||
|
- "go test cmd/logger/*.go"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue