diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 97b3a4c..a7cc12d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -91,7 +91,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: openharmony-rs/setup-ohos-sdk@v0.1 + - uses: openharmony-rs/setup-ohos-sdk@v0.2 id: setup-ohos with: version: "5.0" @@ -103,7 +103,7 @@ jobs: - name: fmt & clippy if: ${{ !cancelled() }} run: | - ohrs cargo --disable-target -- fmt --all -- --check + cargo fmt --all -- --check ohrs cargo --disable-target -- clippy --target ${{matrix.target}} --all-features --features="async tokio/rt-multi-thread" -- -D warnings - name: Build if: ${{ !cancelled() }}