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 77 name : GNU/Linux CI
88 runs-on : ubuntu-latest
99 steps :
10- - name : Cache cargo registry
10+ - name : Cache cargo
1111 uses : actions/cache@v2
1212 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') }}
2518
2619 - uses : actions/checkout@v2
2720 - name : Install latest stable toolchain
Original file line number Diff line number Diff line change 77 name : macOS CI
88 runs-on : macos-latest
99 steps :
10- - name : Cache cargo registry
10+ - name : Cache cargo
1111 uses : actions/cache@v2
1212 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') }}
2518
2619 - uses : actions/checkout@v2
2720 - name : Install latest stable toolchain
You can’t perform that action at this time.
0 commit comments