Skip to content

Commit

Permalink
[plugin] use with_packages function
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Apr 8, 2024
1 parent 1070b26 commit c2b357a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn clippy() -> FnResult<String> {
let stdout = dag()
.pipeline("clippy")?
.pkgx()?
.with_exec(vec!["curl", "wget"])?
.with_packages(vec!["curl", "wget"])?
.with_exec(vec!["type rustup > /dev/null || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"])?
.with_exec(vec!["rustup", "component", "add", "clippy"])?
.with_exec(vec!["cargo", "install", "clippy-sarif", "--version", "0.3.0"])?
Expand All @@ -34,7 +34,7 @@ pub fn llvmcov() -> FnResult<String> {
let stdout = dag()
.pipeline("llvmcov")?
.pkgx()?
.with_exec(vec!["curl", "wget"])?
.with_packages(vec!["curl", "wget"])?
.with_exec(vec!["type rustup > /dev/null || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"])?
.with_exec(vec!["rustup", "component", "add", "llvm-tools"])?
.with_exec(vec![
Expand Down

0 comments on commit c2b357a

Please sign in to comment.