浏览代码

Update rust_general.yml

AppFlowy.IO 3 年之前
父节点
当前提交
079f18d727
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      .github/workflows/rust_general.yml

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

@@ -20,9 +20,10 @@ jobs:
           source $HOME/.cargo/env
           rustup toolchain install 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
 
   rust-clippy: