From b978bd2061cb50f15459125f6548bffa193f8b78 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 9 Mar 2024 20:56:16 +0000 Subject: [PATCH] Add Woodpeck CI config --- .woodpecker.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..85257be --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,19 @@ +steps: + build: + when: + - event: cron + - event: push + branch: main + - event: pull_request + image: docker.io/rust:latest + commands: + - cargo build + test: + when: + - event: cron + - event: push + branch: main + - event: pull_request + image: docker.io/rust:latest + commands: + - cargo test