You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2022/05/26 02:28:58 UTC
[dubbo-rust] 10/20: Update CI.yml
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 <Jo...@163.com>
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