aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/check.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index fe60ffd2..f6c4c5d9 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -4,11 +4,15 @@ jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- - name: Cache
- uses: actions/cache@v3.0.4
+ - uses: actions/cache@v3
with:
- path: target
- key: target
+ path: |
+ ~/.cargo/bin/
+ ~/.cargo/registry/index/
+ ~/.cargo/registry/cache/
+ ~/.cargo/git/db/
+ target/
+ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with: