gtq/.drone.yml

21 lines
391 B
YAML
Raw Normal View History

---
kind: pipeline
name: default
steps:
2022-02-18 20:07:31 +00:00
- name: gosec security analysis
image: securego/gosec
commands:
- gosec ./...
- name: staticcheck analysis
image: golang
commands:
- go install honnef.co/go/tools/cmd/staticcheck
- "$(go env GOPATH)/bin/staticcheck"
2021-03-13 02:48:58 +00:00
- name: build, test and benchmark
image: golang
commands:
2022-02-18 20:07:31 +00:00
- go build -race
- go test
2021-03-13 02:48:58 +00:00
- go test -bench=.