diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 309618f7b..cdf0f33f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,23 +45,23 @@ jobs: command: fmt args: --all -- --check - - name: Clippy - uses: actions-rs/cargo@v1 - with: - command: clippy - args: --all ${{ matrix.flags }} -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect - - name: Build Nushell uses: actions-rs/cargo@v1 with: command: build - args: ${{ matrix.flags }} + args: --workspace ${{ matrix.flags }} + + - name: Clippy + uses: actions-rs/cargo@v1 + with: + command: clippy + args: --workspace ${{ matrix.flags }} -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect - name: Tests uses: actions-rs/cargo@v1 with: command: test - args: --all ${{ matrix.flags }} + args: --workspace ${{ matrix.flags }} python-virtualenv: @@ -85,7 +85,6 @@ jobs: profile: minimal toolchain: ${{ matrix.rust }} override: true - components: rustfmt, clippy - uses: Swatinem/rust-cache@v1 with: