feat: with logs
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-11-25 21:49:04 +01:00
parent 8cf148726a
commit f5ba46186b
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -89,6 +89,7 @@ impl Default for CuddleCI {
#[async_trait] #[async_trait]
pub trait PullRequestAction { pub trait PullRequestAction {
async fn validate(&self) -> eyre::Result<()> { async fn validate(&self) -> eyre::Result<()> {
eprintln!("validate pull request: noop");
Ok(()) Ok(())
} }
} }
@ -100,6 +101,7 @@ impl PullRequestAction for DefaultPullRequestAction {}
#[async_trait] #[async_trait]
pub trait MainAction { pub trait MainAction {
async fn validate(&self) -> eyre::Result<()> { async fn validate(&self) -> eyre::Result<()> {
eprintln!("validate main: noop");
Ok(()) Ok(())
} }
} }
@ -111,6 +113,8 @@ impl MainAction for DefaultMainAction {}
#[async_trait] #[async_trait]
pub trait ReleaseAction { pub trait ReleaseAction {
async fn validate(&self) -> eyre::Result<()> { async fn validate(&self) -> eyre::Result<()> {
eprintln!("validate release: noop");
Ok(()) Ok(())
} }
} }