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