From 6689f67436067a47d9e3d42fff7b31bd70abc2af Mon Sep 17 00:00:00 2001 From: a-kenji Date: Mon, 4 Jul 2022 20:56:47 +0200 Subject: [PATCH] fix(ci): clippy (#1559) Install `cargo-make` explicitly in the workflow, even tough it should be cached from the previous steps. There are some corner cases in which gh messes the caching up and can't access it. --- .github/workflows/rust.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5e75c2d2..5fed5058 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -72,10 +72,7 @@ jobs: ~/.cargo/git target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + - name: Install cargo-make + run: test -x "${HOME}/.cargo/bin/cargo-make" || cargo install --debug cargo-make - name: Check clippy lints run: cargo make clippy - # - name: Check Lints - # uses: actions-rs/clippy-check@v1 - # with: - # token: ${{ secrets.GITHUB_TOKEN }} - # args: --all-features --all-targets --deny warnings