Skip to content

Commit 577c2a4

Browse files
committed
Try using cli argument to cargo
1 parent 7065275 commit 577c2a4

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,11 @@ jobs:
4040
- name: Build benchmark
4141
uses: actions-rs/cargo@v1
4242
with:
43-
working-directory: rust
4443
command: build
45-
args: --release --all-features
44+
args: --release --all-features --manifest-path rust/Cargo.toml
4645
- name: Run benchmark
47-
uses: actions-rs/cargo@v1
48-
with:
49-
working-directory: rust
50-
command: bench
51-
args: --bench bench -- --output-format bencher | tee out.txt
46+
working-directory: rust
47+
run: cargo bench --bench bench -- --output-format bencher | tee out.txt
5248
- name: Prepare benchmark results
5349
run: |
5450
cd rust

0 commit comments

Comments
 (0)