From 56f9b859c1fef443fd62c429b6fa2d2f7895e366 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Thu, 25 Sep 2025 12:00:01 +0800 Subject: [PATCH] Fix CI script error --- .github/workflows/rust.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2e57100..689024b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -26,6 +26,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + with: + components: clippy, rustfmt - name: rustfmt if: ${{ !cancelled() }} @@ -57,6 +59,9 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + with: + components: clippy, rustfmt - name: Install cargo ndk and rust compiler for android target if: ${{ !cancelled() }} run: | @@ -81,6 +86,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + with: + components: clippy, rustfmt - name: Install cargo lipo and rust compiler for ios target if: ${{ !cancelled() }} run: |