We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a8dd49 + 817df45 commit 5914a93Copy full SHA for 5914a93
.github/workflows/ci.yaml
@@ -18,6 +18,8 @@ jobs:
18
RUSTFLAGS: -D warnings
19
CARGO_INCREMENTAL: 0
20
RUN_SLOW_TESTS: 1
21
+ RUSTUP_MAX_RETRIES: 10
22
+ CARGO_NET_RETRY: 10
23
steps:
24
25
- name: Checkout repository
@@ -39,7 +41,19 @@ jobs:
39
41
override: true
40
42
components: rustfmt, rust-src
43
- - name: Cargo target cache
44
+ - name: Cache cargo registry
45
+ uses: actions/cache@v1
46
+ with:
47
+ path: ~/.cargo/registry
48
+ key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
49
+
50
+ - name: Cache cargo index
51
52
53
+ path: ~/.cargo/git
54
+ key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
55
56
+ - name: Cache cargo target dir
57
uses: actions/cache@v1
58
with:
59
path: target
0 commit comments