Sfoglia il codice sorgente

Update rust_general.yml

AppFlowy.IO 3 anni fa
parent
commit
3363952a23
1 ha cambiato i file con 6 aggiunte e 3 eliminazioni
  1. 6 3
      .github/workflows/rust_general.yml

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

@@ -20,10 +20,13 @@ jobs:
           toolchain: stable
           override: true
           components: rustfmt
+
       - uses: actions-rs/cargo@v1
-      - run: cargo fmt --all -- --check
-        working-directory: frontend/rust-lib
-        
+        with:
+          path: frontend/rust-lib
+          command: fmt
+          args: --all -- --check
+
   rust-clippy:
     runs-on: ubuntu-latest
     name: Clippy