Add Swatinem/rust-cache to benchmark-compare job (#3637)

This commit is contained in:
Jonathan Plasse 2023-03-21 14:45:09 +01:00 committed by GitHub
parent f59a22b6e5
commit c42f8b93d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ jobs:
- name: "PR - Install Rust toolchain" - name: "PR - Install Rust toolchain"
run: rustup show run: rustup show
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- name: "PR - Build benchmarks" - name: "PR - Build benchmarks"
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
@ -78,9 +78,11 @@ jobs:
- name: "Install Rust toolchain" - name: "Install Rust toolchain"
run: rustup show run: rustup show
- name: "Install cargo-binstall"
uses: taiki-e/install-action@cargo-binstall
- name: "Install critcmp" - name: "Install critcmp"
# Use debug build: Building takes much longer than the "slowness" of using the debug build. run: cargo binstall critcmp -y
run: cargo install --debug critcmp
- name: "Linux | Download PR benchmark results" - name: "Linux | Download PR benchmark results"
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3