4 releases
| 0.7.3 | Aug 28, 2025 |
|---|---|
| 0.7.1 | Aug 22, 2025 |
| 0.7.0 | Aug 13, 2025 |
| 0.6.0 | Aug 9, 2025 |
#76 in #local
206 downloads per month
Used in 2 crates
46KB
808 lines
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:
wrkflwCLI 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
wrkflwCLI for end-to-end UX.
Dependencies
~2–13MB
~120K SLoC