File tree Expand file tree Collapse file tree 2 files changed +12
-26
lines changed Expand file tree Collapse file tree 2 files changed +12
-26
lines changed Original file line number Diff line number Diff line change 7
7
name : GNU/Linux CI
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - name : Cache cargo registry
10
+ - name : Cache cargo
11
11
uses : actions/cache@v2
12
12
with :
13
- path : ~/.cargo/registry
14
- key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
15
- - name : Cache cargo index
16
- uses : actions/cache@v2
17
- with :
18
- path : ~/.cargo/git
19
- key : ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
20
- - name : Cache cargo build
21
- uses : actions/cache@v2
22
- with :
23
- path : target
24
- key : ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
13
+ path : |
14
+ ~/.cargo/git
15
+ ~/.cargo/registry
16
+ target
17
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
25
18
26
19
- uses : actions/checkout@v2
27
20
- name : Install latest stable toolchain
Original file line number Diff line number Diff line change 7
7
name : macOS CI
8
8
runs-on : macos-latest
9
9
steps :
10
- - name : Cache cargo registry
10
+ - name : Cache cargo
11
11
uses : actions/cache@v2
12
12
with :
13
- path : ~/.cargo/registry
14
- key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
15
- - name : Cache cargo index
16
- uses : actions/cache@v2
17
- with :
18
- path : ~/.cargo/git
19
- key : ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
20
- - name : Cache cargo build
21
- uses : actions/cache@v2
22
- with :
23
- path : target
24
- key : ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
13
+ path : |
14
+ ~/.cargo/git
15
+ ~/.cargo/registry
16
+ target
17
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
25
18
26
19
- uses : actions/checkout@v2
27
20
- name : Install latest stable toolchain
You can’t perform that action at this time.
0 commit comments