Skip to content

Commit d4a370a

Browse files
committed
fix: correct cargo install command in CI workflow and standard workflow
1 parent ca2f403 commit d4a370a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
toolchain: stable
4545
- name: Install nextest
46-
run: cargo cargo install cargo-nextest --locked
46+
run: cargo install cargo-nextest --locked
4747
- name: Cargo Nextest
4848
run: cargo nextest run --all-features --workspace
4949
lint:

crates/gh-workflow-tailcall/src/standard.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ impl StandardWorkflow {
205205
.add_step(Toolchain::default().add_stable())
206206
.add_step_when(
207207
matches!(self.test_runner, TestRunner::Nextest),
208-
Cargo::new("cargo install cargo-nextest --locked").name("Install nextest"),
208+
Cargo::new("install")
209+
.args("cargo-nextest --locked")
210+
.name("Install nextest"),
209211
)
210212
.add_step(match self.test_runner {
211213
TestRunner::Cargo => Cargo::new("test")

0 commit comments

Comments
 (0)