feat: update to dagger-v0.3.13

https://github.com/dagger/dagger/releases/tag/v0.3.13
This commit is contained in:
2023-02-25 00:01:18 +01:00
committed by Kasper Juul Hermansen
parent 88b055cb47
commit 3e8ca8d86e
9 changed files with 590 additions and 112 deletions

View File

@@ -129,7 +129,8 @@ impl Downloader {
if !cli_bin_path.exists() {
cli_bin_path = self
.download(cli_bin_path).await
.download(cli_bin_path)
.await
.context("failed to download CLI from archive")?;
}
@@ -238,7 +239,11 @@ mod test {
#[tokio::test]
async fn download() {
let cli_path = Downloader::new("0.3.10".into()).unwrap().get_cli().await.unwrap();
let cli_path = Downloader::new("0.3.10".into())
.unwrap()
.get_cli()
.await
.unwrap();
assert_eq!(
Some("dagger-0.3.10"),