Browse Source

Update rust_general.yml

AppFlowy.IO 3 years ago
parent
commit
079f18d727
1 changed files with 4 additions and 3 deletions
  1. 4 3
      .github/workflows/rust_general.yml

+ 4 - 3
.github/workflows/rust_general.yml

@@ -20,9 +20,10 @@ jobs:
           source $HOME/.cargo/env
           source $HOME/.cargo/env
           rustup toolchain install nightly
           rustup toolchain install nightly
           rustup default nightly
           rustup default nightly
-      - run: rustup component add rustfmt
-        working-directory: frontend/rust-lib
-      - run: cargo fmt --all -- --check
+      - name: Install rustfmt
+        run: rustup component add rustfmt
+      - name: Rustfmt check
+        run: cargo fmt --all -- --check
         working-directory: frontend/rust-lib
         working-directory: frontend/rust-lib
 
 
   rust-clippy:
   rust-clippy: