Explorar o código

Update rust_general.yml

AppFlowy.IO %!s(int64=3) %!d(string=hai) anos
pai
achega
3363952a23
Modificáronse 1 ficheiros con 6 adicións e 3 borrados
  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