Skip to content

Commit 13ce63e

Browse files
committed
benchmarks.yml: Use prebuilt tools for faster setup
1 parent 4904766 commit 13ce63e

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/benchmarks.yml

Lines changed: 6 additions & 5 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:
@@ -58,7 +58,7 @@ jobs:
5858
- uses: actions/checkout@v6
5959
with:
6060
persist-credentials: false
61-
61+
# investigate toolchain version building best binaries
6262
- uses: dtolnay/rust-toolchain@stable
6363

6464
- uses: Swatinem/rust-cache@v2
@@ -74,9 +74,10 @@ jobs:
7474
sudo locale-gen fr_FR.UTF-8
7575
sudo update-locale
7676
77-
- name: Install cargo-codspeed
78-
shell: bash
79-
run: cargo install cargo-codspeed --locked
77+
- name: Install tools
78+
uses: taiki-e/install-action@v2
79+
with:
80+
tool: cargo-codspeed
8081

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

0 commit comments

Comments
 (0)