From 61779f00709594612c4039e69158e207da4c4eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= <44257381+JSorngard@users.noreply.github.com> Date: Mon, 30 Dec 2024 10:58:21 +0100 Subject: [PATCH] Use `taiki-e/install-action` to install dev tools in CI (#27) --- .github/workflows/rust.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 362bfd8..818970d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -23,9 +23,10 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - - name: Install - run: cargo install cargo-all-features - - name: Check + - uses: taiki-e/install-action@v2 + with: + tool: cargo-all-features + - name: Check all feature combinations run: cargo check-all-features test: @@ -33,9 +34,10 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - - name: Install - run: cargo install cargo-all-features - - name: Test + - uses: taiki-e/install-action@v2 + with: + tool: cargo-all-features + - name: Test all feature combinations run: cargo test-all-features build: @@ -51,7 +53,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - - name: Install - run: cargo install cargo-msrv - - name: Verify - run: cargo msrv verify \ No newline at end of file + - uses: taiki-e/install-action@v2 + with: + tool: cargo-msrv + - name: Verify MSRV + run: cargo msrv verify