From ab517a84358820b98722e38b9e61d20578ac79ac Mon Sep 17 00:00:00 2001 From: Krishna Rajendran Date: Mon, 1 Jul 2024 16:57:51 -0700 Subject: [PATCH] Use install-action to install cargo-rdme --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8cf5d70..f765cc8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,13 +21,15 @@ jobs: with: components: rustfmt + - uses: taiki-e/install-action@v2 + with: + tool: cargo-rdme + - name: Format run: cargo fmt --check - name: README sync - run: | - cargo install cargo-rdme - cargo rdme --check + run: cargo rdme --check - name: Build run: cargo build --verbose