From 30b001d6382db3e8992f34cf26bb7d12d21a1c69 Mon Sep 17 00:00:00 2001 From: Hendrik Eeckhaut Date: Wed, 19 Jul 2023 11:33:29 +0200 Subject: [PATCH] Use dtolnay to install rust + updated rust-cache version tlsnotary/tlsn#273 --- .github/workflows/rust.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 072f4ace..b67a3fd9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,12 +19,12 @@ jobs: - uses: actions/checkout@v3 - name: Stable - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable components: clippy - - uses: Swatinem/rust-cache@v2.0.0 + + - uses: Swatinem/rust-cache@v2.5.0 - name: "Build" run: cargo build @@ -49,9 +49,8 @@ jobs: - uses: actions/checkout@v3 - name: Nightly with rustfmt - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: nightly components: rustfmt