Skip to content

Commit

Permalink
Replace rust cache in rust-clippy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejressel committed Mar 9, 2024
1 parent d4edf36 commit a85802d
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a85802d

Please sign in to comment.