Skip to main content

Crate dev_ci

Crate dev_ci 

Source
Expand description

§dev-ci

CI workflow generator and GitHub Action for the dev-* verification suite.

dev-ci does two things:

  1. Generate calibrated CI pipelines (.github/workflows/ci.yml, .gitlab-ci.yml, etc.) tailored to the dev-* features a project uses.
  2. Run the suite end-to-end on pull requests, posting structured annotations and uploading SARIF for the GitHub Security tab.

§Quick example

use dev_ci::{Generator, Target};

let yaml = Generator::new()
    .target(Target::GitHubActions)
    .with_clippy()
    .with_fmt()
    .with_msrv("1.85")
    .generate();

std::fs::write(".github/workflows/ci.yml", yaml).unwrap();

§Status

Pre-1.0. APIs may shift through the 0.9.x line. See the CHANGELOG for what’s stable.

Structs§

Generator
Builder for a CI workflow document.

Enums§

Target
Supported CI target platforms.