diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08fa265..bbeeee2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Show arkade version run: | - type arakade + type arkade type kind type firecracker kind version diff --git a/src/lib.rs b/src/lib.rs index d24e1db..cbd533d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,6 +22,7 @@ pub fn chart(args: String) -> FnResult { #[plugin_fn] pub fn get(args: String) -> FnResult { + setup_arkade()?; let stdout = dag() .pipeline("get")? .with_exec(vec!["arkade", "get", &args])? @@ -31,6 +32,7 @@ pub fn get(args: String) -> FnResult { #[plugin_fn] pub fn install(args: String) -> FnResult { + setup_arkade()?; let stdout = dag() .pipeline("install")? .with_exec(vec!["arkade", "install", &args])? @@ -40,6 +42,7 @@ pub fn install(args: String) -> FnResult { #[plugin_fn] pub fn oci(args: String) -> FnResult { + setup_arkade()?; let stdout = dag() .pipeline("oci")? .with_exec(vec!["arkade", "oci", &args])? @@ -49,6 +52,7 @@ pub fn oci(args: String) -> FnResult { #[plugin_fn] pub fn system(args: String) -> FnResult { + setup_arkade()?; let stdout = dag() .pipeline("system")? .with_exec(vec!["arkade", "system", &args])?