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: |