From c09a025e53991b455751d047d316b63cda5610f8 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Fri, 8 Oct 2021 20:28:14 +0000 Subject: [PATCH] Move to woodpecker Signed-off-by: jolheiser --- .drone.yml | 17 ----------------- .woodpecker.yml | 8 ++++++++ Makefile | 17 ----------------- 3 files changed, 8 insertions(+), 34 deletions(-) delete mode 100644 .drone.yml create mode 100644 .woodpecker.yml delete mode 100644 Makefile diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 7d4d631..0000000 --- a/.drone.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -kind: pipeline -name: compliance -trigger: - event: - - pull_request -steps: - - name: build - pull: always - image: golang:1.16 - commands: - - make test - - name: check - pull: always - image: golang:1.16 - commands: - - make vet \ No newline at end of file diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..6cbf7b9 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,8 @@ +pipeline: + compliance: + image: golang:1.17 + commands: + - go test -race ./... + - go vet ./... + when: + event: [ pull_request ] \ No newline at end of file diff --git a/Makefile b/Makefile deleted file mode 100644 index cb9577f..0000000 --- a/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -GO ?= go - -.PHONY: vet -vet: - $(GO) vet ./... - -.PHONY: fmt -fmt: - $(GO) fmt ./... - -.PHONY: test -test: - $(GO) test -race ./... - -.PHONY: bench -bench: - $(GO) test -benchmem -bench=.