File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,13 @@ jobs:
32
32
key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
33
33
restore-keys : |
34
34
${{ runner.os }}-cargo-
35
- - name : Cache Rust toolchain
35
+ - name : Cache cargo bin tools
36
36
uses : actions/cache@v3
37
37
with :
38
- path : |
39
- ~/.rustup
40
- ~/.cargo/bin
41
- key : ${{ runner.os }}-rust-nightly-${{ hashFiles('rust-toolchain.toml') }}
38
+ path : ~/.cargo/bin
39
+ key : ${{ runner.os }}-cargo-bin-${{ hashFiles('rust-toolchain.toml') }}
42
40
restore-keys : |
43
- ${{ runner.os }}-rust-nightly -
41
+ ${{ runner.os }}-cargo-bin -
44
42
- name : Install Rust nightly
45
43
uses : dtolnay/rust-toolchain@nightly
46
44
with :
@@ -85,18 +83,16 @@ jobs:
85
83
key : ${{ runner.os }}-${{ matrix.target }}-rust-${{ hashFiles('rust-toolchain.toml') }}-${{ hashFiles('**/Cargo.lock') }}
86
84
restore-keys : |
87
85
${{ runner.os }}-${{ matrix.target }}-rust-
88
- - name : Cache Rust toolchain
86
+ - name : Cache cargo bin tools
89
87
uses : actions/cache@v3
90
88
with :
91
- path : |
92
- ~/.rustup
93
- ~/.cargo/bin
94
- key : ${{ runner.os }}-rust-nightly-${{ hashFiles('rust-toolchain.toml') }}
89
+ path : ~/.cargo/bin
90
+ key : ${{ runner.os }}-cargo-bin-${{ hashFiles('rust-toolchain.toml') }}
95
91
restore-keys : |
96
- ${{ runner.os }}-rust-nightly -
92
+ ${{ runner.os }}-cargo-bin -
97
93
- name : Install cargo-nextest
98
94
uses : taiki-e/install-action@v2
99
95
with :
100
96
tool : cargo-nextest
101
97
- name : Run Tests
102
- run : cargo nextest run --target ${{ matrix.target }} --all-targets --all-features -E "not kind(bench)"
98
+ run : cargo nextest run --target ${{ matrix.target }} --all-targets --all-features -E "not kind(bench)"
You can’t perform that action at this time.
0 commit comments