From 7ad55ac10672254123c53d9a6ac374d5c469ae26 Mon Sep 17 00:00:00 2001 From: Roland Sherwin Date: Mon, 29 Jan 2024 16:49:25 +0530 Subject: [PATCH] chore(ci): use the actively maintained rust toolchain action --- .github/workflows/merge.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 929824ac48..a4ef6daa6f 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -130,11 +130,10 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 - name: cargo cache registry, index and build uses: actions/cache@v4.0.0 @@ -159,11 +158,10 @@ jobs: - { os: windows-latest } steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 - shell: bash if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'