Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use async_trait::async_trait;
|
||||
use dagger_sdk::Container;
|
||||
|
||||
@@ -32,9 +34,9 @@ pub trait ClapSanityTestExt {
|
||||
|
||||
impl ClapSanityTestExt for RustService {
|
||||
fn with_clap_sanity_test(&mut self) -> &mut Self {
|
||||
self.with_stage(
|
||||
super::RustServiceStage::AfterPackage(Box::new(ClapSanityTest::new(&self.bin_name)))
|
||||
);
|
||||
self.with_stage(super::RustServiceStage::AfterPackage(Arc::new(
|
||||
ClapSanityTest::new(&self.bin_name),
|
||||
)));
|
||||
|
||||
self
|
||||
}
|
||||
|
Reference in New Issue
Block a user