From a7d9fa0f78816726fb03e80fbac006d1b001c6d7 Mon Sep 17 00:00:00 2001 From: JoshuaBatty Date: Wed, 11 Sep 2024 10:50:09 +1000 Subject: [PATCH] Update CI workflow to setup Rust and cargo-nextest using moonrepo/setup-rust action. --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d3b1243bb3..694d65aa0f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -544,13 +544,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Install toolchain - uses: dtolnay/rust-toolchain@master + - name: Setup Rust and cargo-nextest + uses: moonrepo/setup-rust@v0 with: - toolchain: ${{ env.RUST_VERSION }} - - uses: Swatinem/rust-cache@v2 - - name: Setup cargo-nextest - uses: taiki-e/install-action@nextest + channel: stable + cache-target: release + bins: cargo-nextest - name: Run sway-lsp tests sequentially env: RUST_BACKTRACE: full