Add .drone.yml

This commit is contained in:
Rob Watson 2022-05-30 12:16:21 +02:00
parent 4f6b2d1550
commit ae1b699d76
1 changed files with 14 additions and 0 deletions

14
.drone.yml Normal file
View File

@ -0,0 +1,14 @@
---
kind: pipeline
type: kubernetes
name: default
steps:
- name: test
image: golang:1.18
commands:
- go install honnef.co/go/tools/cmd/staticcheck@latest
- go build ./...
- go vet ./...
- staticcheck ./...
- go test -bench=. -benchmem -cover ./...