File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -182,11 +182,16 @@ jobs:
182182 ~/.cargo/git
183183 ui/target
184184 key : " ${{ runner.os }}-cargo-${{ hashFiles('ui/**/Cargo.lock') }}-2"
185- - name : Format
185+ - name : Format server
186186 uses : actions-rs/cargo@v1
187187 with :
188188 command : fmt
189- args : " --manifest-path ui/Cargo.toml --all -- --check"
189+ args : " --manifest-path ui/Cargo.toml --all --check"
190+ - name : Format top-crates
191+ uses : actions-rs/cargo@v1
192+ with :
193+ command : fmt
194+ args : " --manifest-path top-crates/Cargo.toml --check"
190195 - name : Build backend
191196 run : |-
192197 mkdir -p ui/target; docker run --rm -v $PWD/ui:/ui -v ~/.cargo/git:/home/rust/.cargo/git -v ~/.cargo/registry:/home/rust/.cargo/registry --workdir /ui ekidd/rust-musl-builder:stable bash -c $'
Original file line number Diff line number Diff line change @@ -279,11 +279,17 @@ workflows:
279279 ui/target
280280 key : ${{ runner.os }}-cargo-${{ hashFiles('ui/**/Cargo.lock') }}-2
281281
282- - name : " Format"
282+ - name : " Format server "
283283 uses : actions-rs/cargo@v1
284284 with :
285285 command : fmt
286- args : --manifest-path ui/Cargo.toml --all -- --check
286+ args : --manifest-path ui/Cargo.toml --all --check
287+
288+ - name : " Format top-crates"
289+ uses : actions-rs/cargo@v1
290+ with :
291+ command : fmt
292+ args : --manifest-path top-crates/Cargo.toml --check
287293
288294 - name : " Build backend"
289295 run : >-
You can’t perform that action at this time.
0 commit comments