full_suite/full_suite.rs
1//! Generate a workflow with the full standard surface: 3-OS matrix,
2//! every standard job, no-default + all-features build coverage,
3//! workspace flag.
4//!
5//! ```text
6//! cargo run --example full_suite
7//! ```
8
9use dev_ci::{Generator, Target};
10
11fn main() {
12 let yaml = Generator::new()
13 .target(Target::GitHubActions)
14 .workflow_name("CI")
15 .branches(["main"])
16 .matrix_os(["ubuntu-latest", "macos-latest", "windows-latest"])
17 .with_workspace()
18 .with_no_default_features_build()
19 .with_all_features_build()
20 .with_clippy()
21 .with_fmt()
22 .with_docs()
23 .with_msrv("1.85")
24 .generate();
25
26 println!("{yaml}");
27}