gapr/.drone.yml
Peter Kurfer e9e41fb245
All checks were successful
concourse-ci/lint/golangci-lint Lint Go files
continuous-integration/drone/push Build is passing
concourse-ci/test/gotestsum Run unit tests
continuous-integration/drone Build is passing
feat: add drone pipeline
2023-02-18 11:28:50 +01:00

20 lines
No EOL
416 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: Lint
image: docker.io/golangci/golangci-lint:latest
environment:
GO111MODULE: "on"
CGO_ENABLED: "0"
GOMEMLIMIT: "1150MiB"
commands:
- golangci-lint run -v
- name: Test
image: docker.io/golang:1.20-buster
commands:
- go mod download
- go run gotest.tools/gotestsum@latest -f pkgname-and-test-fails -- -race -shuffle=on ./...