This commit is contained in:
Andy Grove 2019-10-17 04:26:00 -06:00
parent 60448382c2
commit 41eda23ede

View file

@ -13,10 +13,12 @@ jobs:
# compilation. Put another way: after a successful `cargo build`, `cargo
# clippy` is guaranteed to produce no results. This bug is known upstream:
# https://github.com/rust-lang/rust-clippy/issues/2604.
- name: Clippy
run: cargo clippy -- --all-targets --all-features -- -D warnings
# - name: Clippy
# run: cargo clippy -- --all-targets --all-features -- -D warnings
- name: Check formatting
run: cargo +nightly fmt -- --check --config-path <(echo 'license_template_path = "HEADER"')
run: |
rustup toolchain install nightly && rustup component add --toolchain nightly rustfmt
cargo +nightly fmt -- --check --config-path <(echo 'license_template_path = "HEADER"')
- name: Build
run: cargo build --verbose
- name: Run tests