clipper/.drone.yml

16 lines
290 B
YAML
Raw Normal View History

2021-12-12 12:09:21 +00:00
---
kind: pipeline
type: docker
name: default
steps:
- name: backend
image: golang:1.17
commands:
- cd backend/
2021-12-13 20:30:37 +00:00
- go install honnef.co/go/tools/cmd/staticcheck@latest
2021-12-12 12:09:21 +00:00
- go build ./...
- go vet ./...
2021-12-13 20:30:37 +00:00
- staticcheck ./...
2021-12-12 12:09:21 +00:00
- go test -bench=. -benchmem -cover ./...