From 7f317fe20079e9e503819c1f9eb9773d60ee00e5 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Wed, 28 Dec 2022 20:28:26 +0000 Subject: [PATCH] Fix CI! Turns out the drone config is NOT supported by woodpecker. --- .drone.yml | 8 -------- .woodpecker/build.yml | 12 ++++++++++++ 2 files changed, 12 insertions(+), 8 deletions(-) delete mode 100644 .drone.yml create mode 100644 .woodpecker/build.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 55a244b..0000000 --- a/.drone.yml +++ /dev/null @@ -1,8 +0,0 @@ -kind: pipeline -name: default - -steps: -- name: build - image: golang - commands: - - make build diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml new file mode 100644 index 0000000..9cb0961 --- /dev/null +++ b/.woodpecker/build.yml @@ -0,0 +1,12 @@ +platform: linux/amd64 + +pipeline: + format: + image: golang + commands: + - files=$(gofmt -l .) && echo "$files" && [ -z "$files" ] + build: + image: golang + commands: + - make build +