소스 검색

Update rust_general.yml

AppFlowy.IO 3 년 전
부모
커밋
3363952a23
1개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  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