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