aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-01-07 16:36:09 +0000
committerAleksey Kladov <[email protected]>2020-01-07 16:36:56 +0000
commitca2a9b50c08861ddfeea5d5a514a2bb51067294a (patch)
tree5898264ab66205ab93b18275564acaf245fffccb /.github/workflows/ci.yaml
parent072f0d323b4946a7f722b2dbdb82ece85914efa3 (diff)
Try to restore caching on CI
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml14
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