Pass clippy args all in one place (easier to copy/paste)

This commit is contained in:
Thom Chiovoloni 2020-04-11 21:06:15 -07:00 committed by Thom Chiovoloni
parent 47b7c5508f
commit 06de08ad8d

View File

@ -77,19 +77,15 @@ jobs:
override: true override: true
- run: rustup component add clippy - run: rustup component add clippy
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
env:
RUSTFLAGS: -D warnings
with: with:
command: clippy command: clippy
# clippy with just bundled # clippy with just bundled
args: --all-targets --workspace --features bundled args: --all-targets --workspace --features bundled -- -D warnings
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
env:
RUSTFLAGS: -D warnings
with: with:
command: clippy command: clippy
# Clippy with all non-conflicting features # Clippy with all non-conflicting features
args: --all-targets --workspace --features 'bundled-full session buildtime_bindgen' args: --all-targets --workspace --features 'bundled-full session buildtime_bindgen' -- -D warnings
# Ensure patch is formatted. # Ensure patch is formatted.
fmt: fmt: