language: rust rust: - nightly before_script: - rustup component add rustfmt --toolchain nightly script: - cargo fmt --all -- --check - cargo test