1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//! Minimal example: generate a basic GitHub Actions workflow. //! //! Run with: `cargo run --example basic` use dev_ci::{Generator, Target}; fn main() { let yaml = Generator::new() .target(Target::GitHubActions) .with_clippy() .with_fmt() .with_msrv("1.85") .generate(); println!("{yaml}"); }