Actually set target when running Clippy builds.

This commit is contained in:
Adam Reichold 2023-04-13 22:16:46 +02:00
parent 61ef8fec4f
commit f981fded3f
1 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.rust-target }}
targets: ${{ matrix.platform.rust-target }}
components: clippy
- uses: actions/setup-python@v4
with:
@ -106,6 +106,8 @@ jobs:
name: Prepare minimal package versions (MSRV only)
run: nox -s set-minimal-package-versions
- run: nox -s clippy-all
env:
CARGO_BUILD_TARGET: ${{ matrix.platform.rust-target }}
build-pr:
if: github.event_name == 'pull_request'