Expand description
Check if github actions used in a workflow can be updated
§Code structure
- Utility modules:
cmd: command line arguments parsing and main function.error:ErrorandResulttypes.version: type wrapper for versions; currently using.semverwithlenient_semver
- Main functionality:
processor: top level file processing function.workflow: workflow file parsing, intoworkflow::Workflowtype. A workflow can have one or moreentity::Entitys that represent resource with a version.entity: theentity::Entitytype.resolver: a resolverresolver::Serverthat makes async requests and caches the result, and an asyncresolver::Clientthat fills theentity.latestfield with the latest version of the upstream entity.updater: the resolver can deal with different upstream API’s by using theupdater::Updtrait, which is generic over the currently supportedupdater::dockerandupdater::githubupstreams.
Modules§
- cmd
- Command line arguments parsing and main function.
- entity
- The
Entitytype. - error
ErrorandResulttypes.- processor
- Top level file processing function.
- resolver
- A resolver
Serverthat makes async requests and caches the result, and an asyncClientthat fills theentity.latestfield with the latest version of the upstream entity. - updater
- The resolver can deal with different upstream API’s by using the
Updtrait, which is generic over the currently supporteddockerandgithubupstreams. - version
- Type wrapper for versions; currently using
semverwithlenient_semver - workflow
- Workflow file parsing, into
Workflowtype.