validate_actions.globals.validation_result

Result of validating a single workflow file.

Classes

ValidationResult(file, problems, max_level, ...)

Result of validating a single workflow file.

class validate_actions.globals.validation_result.ValidationResult(file, problems, max_level, error_count, warning_count)[source]

Bases: object

Result of validating a single workflow file.

Parameters:
file

Path to the validated workflow file

Type:

pathlib.Path

problems

Collection of all problems found

Type:

Problems

max_level

Highest severity level encountered

Type:

ProblemLevel

error_count

Number of errors found

Type:

int

warning_count

Number of warnings found

Type:

int