Crate github_workflows_update
source · [−]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
Command line arguments parsing and main function.
Top level file processing function.
Type wrapper for versions; currently using semver
with lenient_semver