wrkflw-evaluator

Crates.iowrkflw-evaluator
lib.rswrkflw-evaluator
version0.7.3
created_at2025-08-09 13:09:38.026363+00
updated_at2025-08-28 07:32:03.642738+00
descriptionWorkflow evaluation functionality for wrkflw execution engine
homepagehttps://github.com/bahdotsh/wrkflw
repositoryhttps://github.com/bahdotsh/wrkflw
max_upload_size
id1787913
size12,116
Gokul (bahdotsh)

documentation

https://github.com/bahdotsh/wrkflw

README

wrkflw-evaluator

Small, focused helper for statically evaluating GitHub Actions workflow files.

  • Purpose: Fast structural checks (e.g., name, on, jobs) before deeper validation/execution
  • Used by: wrkflw CLI and TUI during validation flows

Example

use std::path::Path;

let result = wrkflw_evaluator::evaluate_workflow_file(
    Path::new(".github/workflows/ci.yml"),
    /* verbose */ true,
).expect("evaluation failed");

if result.is_valid {
    println!("Workflow looks structurally sound");
} else {
    for issue in result.issues {
        println!("- {}", issue);
    }
}

Notes

  • This crate focuses on structural checks; deeper rules live in wrkflw-validators.
  • Most consumers should prefer the top-level wrkflw CLI for end-to-end UX.
Commit count: 183

cargo fmt