aboutsummaryrefslogtreecommitdiffstats
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
parentdocs(changelog): fix 0 rows or cols crash (diff)
downloadsl0ppij-6689f67436067a47d9e3d42fff7b31bd70abc2af.tar.gz
sl0ppij-6689f67436067a47d9e3d42fff7b31bd70abc2af.tar.xz
sl0ppij-6689f67436067a47d9e3d42fff7b31bd70abc2af.zip
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.
-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 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