summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2022-07-04 20:56:47 +0200
committerGitHub <noreply@github.com>2022-07-04 20:56:47 +0200
commit6689f67436067a47d9e3d42fff7b31bd70abc2af (patch)
treec652fd634e0ca7a9d8ff410b7c40fc45db59b8e6 /.github
parent50a8c1b1ac6a34678e7dd412977b1e31622b86af (diff)
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.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rust.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 5e75c2d23..5fed5058c 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