From cc1d56c45f8012a9142be233308e8e9d1b512473 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 28 Sep 2024 04:13:23 +0900 Subject: [PATCH] ci: Use taiki-e/github-actions/install-rust action https://github.com/taiki-e/github-actions/commit/3d23ff7968df58dccbe78a56af766ca42d34e05f --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 244d50b..7626cf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,9 +59,9 @@ jobs: timeout-minutes: 60 steps: - uses: taiki-e/checkout-action@v1 - - name: Install Rust - run: rustup toolchain add "${{ matrix.rust }}" --no-self-update && rustup default "${{ matrix.rust }}" - - run: rustup toolchain add nightly --no-self-update + - uses: taiki-e/github-actions/install-rust@main + with: + toolchain: ${{ matrix.rust }} - uses: taiki-e/install-action@cargo-hack - uses: taiki-e/install-action@cargo-minimal-versions - run: cargo test --workspace --all-features