From dc613f38333ffdc8c90b28ebc594990c3be882e7 Mon Sep 17 00:00:00 2001 From: Rain Date: Sun, 1 Oct 2023 15:47:30 -0700 Subject: [PATCH] Switch to install-action for crates where binaries are available --- .github/workflows/ci.yml | 5 ++--- .github/workflows/docs.yml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 598b109b729..bab817e5311 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,9 @@ jobs: - name: Lint (rustfmt) run: cargo xfmt --check - name: Install cargo readme - uses: baptiste0928/cargo-install@v1 + uses: taiki-e/install-action@v2 with: - crate: cargo-readme - version: latest + tool: cargo-readme - name: Run cargo readme run: ./scripts/regenerate-readmes.sh - name: Check for differences diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 867a734686b..3c28c883218 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -20,10 +20,9 @@ jobs: - name: Build rustdoc run: cargo doc --all-features --workspace - name: Install mdbook - uses: baptiste0928/cargo-install@v1 + uses: taiki-e/install-action@v2 with: - crate: mdbook - version: 0.4 + tool: mdbook@0.4 - name: Run mdbook run: | cd site