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.
This commit is contained in:
parent
50a8c1b1ac
commit
6689f67436
1 changed files with 2 additions and 5 deletions
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue