mirror of
https://github.com/imsnif/bandwhich.git
synced 2026-02-09 01:59:18 +08:00
chore(ci): run nightly build in macOS too
This commit is contained in:
@@ -15,10 +15,15 @@ script:
|
||||
- cargo clippy --all-targets --all-features -- -D warnings
|
||||
matrix:
|
||||
include:
|
||||
- rust: nightly
|
||||
- os: linux
|
||||
rust: nightly
|
||||
before_script:
|
||||
- rustup component add rustfmt
|
||||
- rustup component add clippy --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
|
||||
- os: osx
|
||||
rust: nightly
|
||||
before_script:
|
||||
- rustup component add rustfmt
|
||||
# Fallback to git in case clippy is not available in the current nightly
|
||||
- rustup component add clippy --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
|
||||
allow_failures:
|
||||
- rust: nightly
|
||||
|
||||
Reference in New Issue
Block a user