Skip to content

Commit caf4c45

Browse files
oech3xtqqczze
andcommitted
benchmarks.yml: Use prebuilt tools for faster setup
Co-authored-by: xtqqczze <45661989+xtqqczze@users.noreply.github.com>
1 parent 4904766 commit caf4c45

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/benchmarks.yml

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

3-
# spell-checker:ignore codspeed dtolnay Swatinem sccache
3+
# spell-checker:ignore (people) dtolnay Swatinem taiki-e
4+
# spell-checker:ignore (misc) codspeed sccache
45

56
on:
67
pull_request:
@@ -74,9 +75,10 @@ jobs:
7475
sudo locale-gen fr_FR.UTF-8
7576
sudo update-locale
7677
77-
- name: Install cargo-codspeed
78-
shell: bash
79-
run: cargo install cargo-codspeed --locked
78+
- name: Install tools
79+
uses: taiki-e/install-action@v2
80+
with:
81+
tool: cargo-codspeed
8082

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

0 commit comments

Comments
 (0)