Unverified Commit cc2d767a authored by Alex Tokarev's avatar Alex Tokarev Committed by GitHub
Browse files

Update Rust directories recommended for caching (#433)

This commit applies the suggestion from The Cargo Book:
https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
parent 2fa955d8
Loading
Loading
Loading
Loading
+5 −3
Changes for examples.md: 5 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -476,9 +476,11 @@ whenever possible:
- uses: actions/cache@v2
  with:
    path: |
      ~/.cargo/registry
      ~/.cargo/git
      target
      ~/.cargo/bin/
      ~/.cargo/registry/index/
      ~/.cargo/registry/cache/
      ~/.cargo/git/db/
      target/
    key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
```