Pārlūkot izejas kodu

Update rust_general.yml

AppFlowy.IO 3 gadi atpakaļ
vecāks
revīzija
079f18d727
1 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  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: