Add .drone.yml
This commit is contained in:
parent
4f6b2d1550
commit
ae1b699d76
|
@ -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 ./...
|
Loading…
Reference in New Issue