language: rust rust: - stable install: - rustup component add rustfmt-preview - rustup component add clippy-preview script: - cargo fmt -- --check - touch ./src/*.rs && cargo clippy -- -D warnings - cargo build