language: rust sudo: false cache: cargo rust: - nightly script: - cargo test - rustup component add rustfmt-preview - cargo fmt -- --write-mode diff