File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 89
89
- uses : actions/checkout@v2
90
90
with :
91
91
fetch-depth : 0
92
+ - uses : actions/cache@v1
93
+ with :
94
+ path : ~/.cargo
95
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
96
+ restore-keys : |
97
+ ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
98
+ ${{ runner.os }}-cargo
92
99
- uses : actions-rs/toolchain@v1
93
100
with :
94
101
profile : minimal
@@ -149,6 +156,13 @@ jobs:
149
156
if : github.ref == 'refs/heads/master'
150
157
steps :
151
158
- uses : actions/checkout@v2
159
+ - uses : actions/cache@v1
160
+ with :
161
+ path : ~/.cargo
162
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
163
+ restore-keys : |
164
+ ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
165
+ ${{ runner.os }}-cargo
152
166
- uses : actions-rs/toolchain@v1
153
167
with :
154
168
profile : minimal
You can’t perform that action at this time.
0 commit comments