pub struct WorkflowLinter { /* private fields */ }Expand description
Workflow linter for checking code quality and best practices
Implementations§
Source§impl WorkflowLinter
impl WorkflowLinter
Sourcepub fn with_config(config: LinterConfig) -> Self
pub fn with_config(config: LinterConfig) -> Self
Create a linter with custom configuration
Sourcepub fn lint(&self, workflow: &Workflow) -> LintResult
pub fn lint(&self, workflow: &Workflow) -> LintResult
Lint a workflow and return findings
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkflowLinter
impl RefUnwindSafe for WorkflowLinter
impl Send for WorkflowLinter
impl Sync for WorkflowLinter
impl Unpin for WorkflowLinter
impl UnwindSafe for WorkflowLinter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more