Add CI integration with drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Fabian Becker 2022-01-12 10:54:34 +01:00
parent 80efeb1c7d
commit 4076341fed

33
.drone.yml Normal file
View File

@ -0,0 +1,33 @@
kind: pipeline
type: docker
name: default
steps:
- name: lint
image: golang:latest
volumes:
- name: deps
path: /go
commands:
- go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
- golangci-lint run
- name: test
image: golang
volumes:
- name: deps
path: /go
commands:
- go test
- name: build
image: golang
volumes:
- name: deps
path: /go
commands:
- go build
volumes:
- name: deps
temp: {}