From f5ba46186b2acc2c85614970b349c259baaf44ae Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 25 Nov 2023 21:49:04 +0100 Subject: [PATCH] feat: with logs Signed-off-by: kjuulh --- crates/cuddle-ci/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/cuddle-ci/src/lib.rs b/crates/cuddle-ci/src/lib.rs index 58404f6..fbedd19 100644 --- a/crates/cuddle-ci/src/lib.rs +++ b/crates/cuddle-ci/src/lib.rs @@ -89,6 +89,7 @@ impl Default for CuddleCI { #[async_trait] pub trait PullRequestAction { async fn validate(&self) -> eyre::Result<()> { + eprintln!("validate pull request: noop"); Ok(()) } } @@ -100,6 +101,7 @@ impl PullRequestAction for DefaultPullRequestAction {} #[async_trait] pub trait MainAction { async fn validate(&self) -> eyre::Result<()> { + eprintln!("validate main: noop"); Ok(()) } } @@ -111,6 +113,8 @@ impl MainAction for DefaultMainAction {} #[async_trait] pub trait ReleaseAction { async fn validate(&self) -> eyre::Result<()> { + eprintln!("validate release: noop"); + Ok(()) } }