X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.github%2Fworkflows%2Fclippy.yml;h=5fa8009a8b42c8fad795d61114ad70deacdcd5fc;hb=a0e9f9bd0dca39ccff47baedffa94aca74911a86;hp=fb945060980d7b4d812de295cca5d9dde154e836;hpb=b47dada167dea3d889abd77b7ff584afdaaf0a86;p=rust.git diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index fb945060980..5fa8009a8b4 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -3,7 +3,9 @@ name: Clippy Test on: push: # Ignore bors branches, since they are covered by `clippy_bors.yml` - branches-ignore: [auto, try] + branches-ignore: + - auto + - try # Don't run Clippy tests, when only textfiles were modified paths-ignore: - 'COPYRIGHT' @@ -47,7 +49,7 @@ jobs: run: cargo update - name: Cache cargo dir - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.cargo key: ${{ runner.os }}-x86_64-unknown-linux-gnu-${{ hashFiles('Cargo.lock') }} @@ -93,6 +95,5 @@ jobs: # Cleanup - name: Run cargo-cache --autoclean run: | - cargo install cargo-cache --debug - find ~/.cargo/bin ! -type d -exec strip {} \; - cargo cache --autoclean + cargo +nightly install cargo-cache --no-default-features --features ci-autoclean cargo-cache + cargo cache