NAME
App::Workflow::Lint::YAML - YAML loader for GitHub Actions workflows
SYNOPSIS
use App::Workflow::Lint::YAML;
my ($data, $positions) =
App::Workflow::Lint::YAML->load_yaml($yaml_text);
DESCRIPTION
App::Workflow::Lint::YAML provides a lightweight YAML loader used by the workflow linter. It loads YAML using YAML::PP and returns the parsed data structure.
Earlier versions attempted to extract line numbers from the YAML parser, but this is no longer supported. The $positions hashref is returned for API compatibility and is always empty.
METHODS
load_yaml
my ($data, $positions) = App::Workflow::Lint::YAML->load_yaml($yaml_text);
Parses the YAML string and returns the resulting Perl data structure. The second return value is an empty hashref reserved for future use.