Skip to main content

basic/
basic.rs

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