From a85802dc55f86cf9960cfb9dec0aa399e336546c Mon Sep 17 00:00:00 2001 From: Andrzej Ressel Date: Sun, 10 Mar 2024 00:09:27 +0100 Subject: [PATCH] Replace rust cache in rust-clippy.yml --- .github/workflows/rust-clippy.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/rust-clippy.yml b/.github/workflows/rust-clippy.yml index 8a2c7bc45..f1e1d802e 100644 --- a/.github/workflows/rust-clippy.yml +++ b/.github/workflows/rust-clippy.yml @@ -30,21 +30,8 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - uses: actions/cache@v4 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-clippy-${{ hashFiles('**/Cargo.lock') }}-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-clippy-${{ hashFiles('**/Cargo.lock') }}- - ${{ runner.os }}-clippy- - ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ github.sha }} - ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}- - ${{ runner.os }}-cargo- + - uses: Swatinem/rust-cache@v2 + - name: Install Protoc uses: arduino/setup-protoc@v3 with: