File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 30
30
~/.cargo/git/db/
31
31
target/
32
32
key : ${{ runner.os }}-cargo-clippy-${{ hashFiles('**/Cargo.lock') }}
33
+ restore-keys : |
34
+ ${{ runner.os }}-cargo-clippy-
33
35
- name : Clippy
34
36
run : cargo clippy -- --deny warnings
35
37
75
77
~/.cargo/git/db/
76
78
target/
77
79
key : ${{ runner.os }}-${{ matrix.job.target }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
80
+ restore-keys : |
81
+ ${{ runner.os }}-${{ matrix.job.target }}-cargo-build-
78
82
- name : Install Rust toolchain
79
83
uses : dtolnay/rust-toolchain@stable
80
84
with :
@@ -104,6 +108,8 @@ jobs:
104
108
~/.cargo/git/db/
105
109
target/
106
110
key : ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}
111
+ restore-keys : |
112
+ ${{ runner.os }}-cargo-test-
107
113
- name : Test
108
114
run : cargo test --all-targets --all-features
109
115
Original file line number Diff line number Diff line change 51
51
~/.cargo/git/db/
52
52
target/
53
53
key : ${{ runner.os }}-${{ matrix.job.target }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
54
+ restore-keys : |
55
+ ${{ runner.os }}-${{ matrix.job.target }}-cargo-build-
54
56
- name : Install Rust toolchain
55
57
uses : dtolnay/rust-toolchain@stable
56
58
with :
You can’t perform that action at this time.
0 commit comments