File tree 1 file changed +9
-6
lines changed 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -143,19 +143,22 @@ jobs:
143
143
components : rustfmt, clippy
144
144
override : true
145
145
146
+ - name : Restore cargo registry index
147
+ uses : actions/cache@v1
148
+ with :
149
+ path : ~/.cargo/registry/index
150
+ key : cargo-index-v1-${{ needs.update-deps.outputs.crates-io-index-head }}
151
+
152
+ - name : Print rustfmt version
153
+ run : rustfmt --version
154
+
146
155
- name : Run cargo fmt
147
156
uses : actions-rs/cargo@v1
148
157
continue-on-error : false
149
158
with :
150
159
command : fmt
151
160
args : --all -- --check
152
161
153
- - name : Restore cargo registry index
154
- uses : actions/cache@v1
155
- with :
156
- path : ~/.cargo/registry/index
157
- key : cargo-index-v1-${{ needs.update-deps.outputs.crates-io-index-head }}
158
-
159
162
- name : Restore dependency crates
160
163
uses : actions/cache@v1
161
164
with :
You can’t perform that action at this time.
0 commit comments