Skip to content

Commit af6e925

Browse files
authored
Fix cargo binstall missing binary of iai-callgrind-runner (#312)
1 parent bea4a96 commit af6e925

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v4
4444
- uses: actions-rust-lang/setup-rust-toolchain@v1
45-
4645
- uses: taiki-e/install-action@cargo-binstall
47-
- run: cargo binstall iai-callgrind-runner --version $(cargo pkgid iai-callgrind | cut -d@ -f2)
46+
47+
# Using `--force` flag because the caching action has this bug:
48+
# https://github.com/Swatinem/rust-cache/issues/204
49+
- run: cargo binstall --force iai-callgrind-runner@$(cargo pkgid iai-callgrind | cut -d@ -f2)
4850

4951
- run: sudo apt-get update && sudo apt-get install -y valgrind
5052
- run: cd ./benchmarks/runtime && ./run.sh ${{ matrix.benchmark }}

0 commit comments

Comments
 (0)