From 98edf2854bc7461a258487cf883110ea3d73aa71 Mon Sep 17 00:00:00 2001 From: Caleb Cartwright Date: Thu, 13 Jan 2022 17:57:25 -0600 Subject: [PATCH] ci: use new cargo fmt option --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4c84b7bf..089d0ffd3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,12 +17,12 @@ jobs: - uses: actions/checkout@v2 - run: rustup update stable && rustup default stable - run: rustup component add rustfmt - - run: cargo fmt --all -- --check + - run: cargo fmt --all --check - run: | for manifest in `find crates benches/benchsuite benches/capture -name Cargo.toml` do echo check fmt for $manifest - cargo fmt --all --manifest-path $manifest -- --check + cargo fmt --all --manifest-path $manifest --check done test: