From a7db9d3501f0aa99b1bb2e14793e75eb430dc01a Mon Sep 17 00:00:00 2001 From: Vivek Pandya Date: Mon, 22 Jan 2024 10:10:17 +0530 Subject: [PATCH] Use cargo to install taplo --- .github/actions/rust/action.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/actions/rust/action.yml b/.github/actions/rust/action.yml index de70d3200..8535e001f 100644 --- a/.github/actions/rust/action.yml +++ b/.github/actions/rust/action.yml @@ -45,10 +45,7 @@ runs: - name: Install taplo-cli shell: bash - run: | - curl --fail --silent --show-error --location \ - https://github.com/tamasfe/taplo/releases/latest/download/taplo-linux-x86_64.gz | \ - gzip -d - | install -m 755 /dev/stdin /usr/local/bin/taplo + run: cargo install taplo-cli --locked - id: toolchain-cache-save name: Cache Rust toolchain (Local Save)