19 lines
261 B
YAML
19 lines
261 B
YAML
---
|
|
|
|
image: golang:1.18
|
|
before_script:
|
|
- go get -v
|
|
|
|
stages:
|
|
- test
|
|
|
|
compile:
|
|
stage: test
|
|
script:
|
|
- go build
|
|
|
|
golangci-lint:
|
|
stage: test
|
|
script:
|
|
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2
|
|
- golangci-lint run
|