Skip to content

Commit f3f0e6b

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

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/benchmarks.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Benchmarks
22

3-
# spell-checker:ignore codspeed dtolnay Swatinem sccache
3+
# spell-checker:ignore codspeed dtolnay Swatinem sccache taiki
44

55
on:
66
pull_request:
@@ -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,10 @@ jobs:
7472
sudo locale-gen fr_FR.UTF-8
7573
sudo update-locale
7674
77-
- name: Install cargo-codspeed
78-
shell: bash
79-
run: cargo install cargo-codspeed --locked
75+
- name: Install tools
76+
uses: taiki-e/install-action@v2
77+
with:
78+
tool: cargo-codspeed
8079

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

0 commit comments

Comments
 (0)