소스 검색

Update rust_general.yml

AppFlowy.IO 3 년 전
부모
커밋
57f8226b38
1개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. 3 7
      .github/workflows/rust_general.yml

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

@@ -17,15 +17,11 @@ jobs:
       - uses: actions/checkout@v2
       - uses: actions-rs/toolchain@v1
         with:
-          toolchain: stable
+          toolchain: nightly
           override: true
           components: rustfmt
-
-      - uses: actions-rs/cargo@v1
-        with:
-          path: frontend/rust-lib
-          command: fmt
-          args: --all -- --check
+      - run: cargo fmt --all -- --check
+        working-directory: frontend/rust-lib
 
   rust-clippy:
     runs-on: ubuntu-latest