diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a7a5543ce0d48..54db12d04d272 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,17 +31,6 @@ jobs: cargo-clippy: name: "cargo clippy" runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: "Install Rust toolchain" - run: | - rustup component add clippy - - uses: Swatinem/rust-cache@v2 - - run: cargo clippy --workspace --all-targets --all-features -- -D warnings - - cargo-clippy-wasm: - name: "cargo clippy (wasm)" - runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: "Install Rust toolchain" @@ -49,7 +38,10 @@ jobs: rustup component add clippy rustup target add wasm32-unknown-unknown - uses: Swatinem/rust-cache@v2 - - run: cargo clippy -p ruff_wasm --target wasm32-unknown-unknown --all-features -- -D warnings + - name: "Clippy" + run: cargo clippy --workspace --all-targets --all-features -- -D warnings + - name: "Clippy (wasm)" + run: cargo clippy -p ruff_wasm --target wasm32-unknown-unknown --all-features -- -D warnings cargo-test: strategy: