actions: Remove --all flag from rustfmt (#795)

The --all flag of rustfmt may trigger metadata resolution
which maybe slow down formatting in this case.
This commit is contained in:
lzutao
2020-02-22 02:38:38 +07:00
committed by GitHub
parent d4a88a8d35
commit b3d5f78b8f

View File

@@ -32,7 +32,7 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: fmt command: fmt
args: --all -- --check args: -- --check
build: build:
name: ${{ matrix.name }} name: ${{ matrix.name }}