Skip to content

Commit 2b7b00c

Browse files
committed
benchmarks.yml: Use prebuilt tools for faster setup
1 parent 6124866 commit 2b7b00c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ jobs:
5959
with:
6060
persist-credentials: false
6161

62-
- uses: dtolnay/rust-toolchain@stable
63-
6462
- uses: Swatinem/rust-cache@v2
6563

6664
- name: Run sccache-cache
@@ -74,9 +72,9 @@ jobs:
7472
sudo locale-gen fr_FR.UTF-8
7573
sudo update-locale
7674
75+
- uses: taiki-e/install-action@cargo-binstall
7776
- name: Install cargo-codspeed
78-
shell: bash
79-
run: cargo install cargo-codspeed --locked
77+
run: cargo binstall -y cargo-codspeed
8078

8179
- name: Build benchmarks for ${{ matrix.package }} (${{ matrix.type }})
8280
shell: bash

0 commit comments

Comments
 (0)