grafana-backuper/.drone.yml

20 lines
304 B
YAML
Raw Normal View History

kind: pipeline
name: build
steps:
- name: gofmt
image: golang:1.21.5
commands:
- gofmt -l -s .
when:
event:
- push
- name: vuln-check
image: golang:1.21.5
commands:
- go install golang.org/x/vuln/cmd/govulncheck@latest
- govulncheck ./...
when:
event:
- push