From f03a17a2802fbcb9095cc2084d16813032b3d65f Mon Sep 17 00:00:00 2001 From: Sebastian Goeb Date: Tue, 3 Oct 2023 14:15:39 +0200 Subject: [PATCH] ci: install cargo tools with taiki-e/install-action (#50) --- .github/actions/setup/action.yml | 3 --- .github/workflows/ci.yml | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index e5d9198..9775844 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -30,6 +30,3 @@ runs: target/ key: cargo-repo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }} - - name: Install cargo-binstall - shell: bash - run: cargo install cargo-binstall diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e79b9d5..9816341 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,9 @@ jobs: uses: ./.github/actions/setup - name: Install more cargo tools - run: echo yes | cargo binstall cargo-llvm-cov cargo-nextest + uses: taiki-e/install-action@v2 + with: + tool: cargo-llvm-cov,cargo-nextest # test - name: Run tests and generate coverage