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 +