New action inputs
- toolchain:
- now you can specify the Rust toolchain to use.
- target:
- now you can specify the target to run clippy on.
Example
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
targets: x86_64-unknown-linux-musl
- uses: LoliGothick/clippy-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
toolchain: nightly
target: x86_64-unknown-linux-musl
deny: warnings