From 06d5dcb67070a1ef2e848ab5658e76b3369d51f1 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 28 Sep 2024 04:01:18 +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 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a54ba744..504b5dc2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,10 +61,13 @@ jobs: timeout-minutes: 60 steps: - uses: taiki-e/checkout-action@v1 - - name: Install Rust - run: rustup toolchain add "${{ matrix.rust }}" --no-self-update --component rust-src && rustup default "${{ matrix.rust }}" + - uses: taiki-e/github-actions/install-rust@main + with: + toolchain: ${{ matrix.rust }} + component: rust-src + target: thumbv6m-none-eabi - run: rustup toolchain add nightly --no-self-update - - run: rustup target add thumbv6m-none-eabi + if: matrix.rust == '1.56' - uses: taiki-e/install-action@cargo-hack - uses: taiki-e/install-action@cargo-minimal-versions - uses: taiki-e/install-action@cargo-careful