From 4076341fed9c55729d9b59265830bdf089788352 Mon Sep 17 00:00:00 2001 From: Fabian Becker Date: Wed, 12 Jan 2022 10:54:34 +0100 Subject: [PATCH] Add CI integration with drone --- .drone.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..4a09b19 --- /dev/null +++ b/.drone.yml @@ -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: {}