This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-rust.git

commit 04a3e3f0fb9ed4e8a633f4359ec503d523ed0b09
Author: Johankoi <[email protected]>
AuthorDate: Wed Apr 27 00:28:44 2022 +0800

    Update CI.yml
    
    fix work flow
---
 .github/workflows/CI.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 993dbd7..b377439 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -27,7 +27,7 @@ jobs:
     - uses: actions-rs/toolchain@v1
       with:
           toolchain: ${{ matrix.rust }}
-    - run: cargo che
+    - run: cargo check
     
  fmt:
     name: Rustfmt
@@ -41,9 +41,7 @@ jobs:
       - uses: actions/checkout@main
       - uses: actions-rs/toolchain@v1
         with:
-          profile: minimal
-          toolchain: stable
-          override: true
+          toolchain: ${{ matrix.rust }}
       - run: rustup component add rustfmt
       - run: cargo fmt --all -- --check
       

Reply via email to