From 278f6c3b4bd8ed86d7924f20b67eac18b8bdd957 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Mon, 1 Aug 2022 00:04:14 +0100 Subject: [PATCH] Better naming/location for binstall step --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 121bb3d..1a69295 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,11 +34,6 @@ jobs: command: fmt args: -- --check if: ${{ matrix.rust == 'nightly' }} - - run: | - curl --location --remote-name https://github.com/ryankurte/cargo-binstall/releases/download/v0.11.1/cargo-binstall-x86_64-unknown-linux-musl.tgz - tar -zxvf cargo-binstall-x86_64-unknown-linux-musl.tgz - mv cargo-binstall ~/.cargo/bin - ls -l ~/.cargo/bin - name: Clippy uses: actions-rs/cargo@v1.0.3 env: @@ -46,6 +41,12 @@ jobs: with: command: clippy continue-on-error: ${{ matrix.rust == 'nightly' || matrix.rust == 'beta' }} + - name: Install cargo-binstall + run: | + curl --location --remote-name https://github.com/ryankurte/cargo-binstall/releases/download/v0.11.1/cargo-binstall-x86_64-unknown-linux-musl.tgz + tar -zxvf cargo-binstall-x86_64-unknown-linux-musl.tgz + mv cargo-binstall ~/.cargo/bin + ls -l ~/.cargo/bin - name: Install "build all features" uses: actions-rs/cargo@v1.0.3 with: