From 4a1e4cdf50c1bdfe9e7ad491334fe9330cb7216c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Mon, 10 Jan 2022 13:19:48 +0100 Subject: [PATCH] Move away from multi-pipeline --- .woodpecker/push.yml => .woodpecker.yml | 8 ++++++++ .woodpecker/pr.yml | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) rename .woodpecker/push.yml => .woodpecker.yml (81%) delete mode 100644 .woodpecker/pr.yml diff --git a/.woodpecker/push.yml b/.woodpecker.yml similarity index 81% rename from .woodpecker/push.yml rename to .woodpecker.yml index 1d913e4..1ea7f98 100644 --- a/.woodpecker/push.yml +++ b/.woodpecker.yml @@ -1,4 +1,12 @@ pipeline: + test_short: + image: golang:latest + commands: + - go build main.go + - go test -v ./... + when: + event: [pull_request] + release-latest: image: plugins/docker settings: diff --git a/.woodpecker/pr.yml b/.woodpecker/pr.yml deleted file mode 100644 index d990b3f..0000000 --- a/.woodpecker/pr.yml +++ /dev/null @@ -1,8 +0,0 @@ -pipeline: - test_short: - image: golang:latest - commands: - - go build main.go - - go test -v ./... - when: - event: [pull_request] \ No newline at end of file