Class: Dependabot::GithubActions::FileParser
- Inherits:
-
FileParsers::Base
- Object
- FileParsers::Base
- Dependabot::GithubActions::FileParser
- Extended by:
- T::Set
- Defined in:
- lib/dependabot/github_actions/file_parser.rb
Instance Method Summary collapse
Instance Method Details
#ecosystem ⇒ Object
37 38 39 40 41 42 43 44 45 |
# File 'lib/dependabot/github_actions/file_parser.rb', line 37 def ecosystem @ecosystem ||= T.let( Ecosystem.new( name: ECOSYSTEM, package_manager: package_manager ), T.nilable(Ecosystem) ) end |
#parse ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/dependabot/github_actions/file_parser.rb', line 26 def parse dependency_set = DependencySet.new workflow_files.each do |file| dependency_set += workfile_file_dependencies(file) end dependency_set.dependencies end |