Skip to content

Commit

Permalink
chore: install workflow-runner via axo
Browse files Browse the repository at this point in the history
  • Loading branch information
morgante committed Aug 15, 2024
1 parent 07fe150 commit 06134cf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions crates/cli/src/updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl fmt::Display for AllApp {
AllApp::Timekeeper => write!(f, "timekeeper"),
AllApp::Engine => write!(f, "engine"),
AllApp::Yeast => write!(f, "yeast"),
AllApp::WorkflowRunner => write!(f, "workflow_runner"),
AllApp::WorkflowRunner => write!(f, "workflow-runner"),
AllApp::Gouda => write!(f, "gouda"),
}
}
Expand Down Expand Up @@ -85,7 +85,7 @@ impl SupportedApp {
SupportedApp::Marzano => "marzano".to_string(),
SupportedApp::Gouda => "gouda".to_string(),
#[cfg(feature = "workflows_v2")]
SupportedApp::WorkflowRunner => "workflow_runner".to_string(),
SupportedApp::WorkflowRunner => "workflow-runner".to_string(),
}
}

Expand Down Expand Up @@ -399,7 +399,9 @@ impl Updater {
arch: Option<&str>,
) -> Result<()> {
match app {
SupportedApp::Marzano | SupportedApp::Gouda => self.install_latest_axo(app).await,
SupportedApp::Marzano | SupportedApp::Gouda | SupportedApp::WorkflowRunner => {
self.install_latest_axo(app).await
}
_ => self.install_latest_internal(app, os, arch).await,

Check failure on line 405 in crates/cli/src/updater.rs

View workflow job for this annotation

GitHub Actions / clippy

unreachable pattern

error: unreachable pattern --> crates/cli/src/updater.rs:405:13 | 405 | _ => self.install_latest_internal(app, os, arch).await, | ^ | = note: `-D unreachable-patterns` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unreachable_patterns)]`
}
}
Expand Down

0 comments on commit 06134cf

Please sign in to comment.