gtq/.drone.yml
Tessa Nordgren 278743a8a9
All checks were successful
continuous-integration/drone/push Build is passing
fixed staticcheck install bug
2022-02-18 12:41:36 -08:00

21 lines
398 B
YAML

---
kind: pipeline
name: default
steps:
- name: gosec security analysis
image: securego/gosec
commands:
- gosec ./...
- name: staticcheck analysis
image: golang
commands:
- go install honnef.co/go/tools/cmd/staticcheck@latest
- "$(go env GOPATH)/bin/staticcheck"
- name: build, test and benchmark
image: golang
commands:
- go build -race
- go test
- go test -bench=.