From 289a5dcf3bdb4256f128a639a0f6ac4f40e6a663 Mon Sep 17 00:00:00 2001 From: thirteenowls Date: Sun, 26 May 2024 19:55:07 +0200 Subject: [PATCH] Fix formatting check `cargo fmt` cannot see modules declared using macros. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 074d599e..44321c3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: - name: Install Rust run: rustup update stable && rustup default stable - name: Check formatting - run: cargo fmt --all -- --check + run: rustfmt --check --edition 2021 $(git ls-files '*.rs') # This represents the minimum Rust version supported by # Bytes. Updating this should be done in a dedicated PR.