diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 84c04ee72..d64e9e75c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -39,7 +39,19 @@ jobs: | |||
39 | override: true | 39 | override: true |
40 | components: rustfmt, rust-src | 40 | components: rustfmt, rust-src |
41 | 41 | ||
42 | - name: Cargo target cache | 42 | - name: Cache cargo registry |
43 | uses: actions/cache@v1 | ||
44 | with: | ||
45 | path: ~/.cargo/registry | ||
46 | key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} | ||
47 | |||
48 | - name: Cache cargo index | ||
49 | uses: actions/cache@v1 | ||
50 | with: | ||
51 | path: ~/.cargo/git | ||
52 | key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} | ||
53 | |||
54 | - name: Cache cargo target dir | ||
43 | uses: actions/cache@v1 | 55 | uses: actions/cache@v1 |
44 | with: | 56 | with: |
45 | path: target | 57 | path: target |