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:- Errorand- Resulttypes.
- version: type wrapper for versions; currently using.- semverwith- lenient_semver
 
- Main functionality:
- processor: top level file processing function.
- workflow: workflow file parsing, into- workflow::Workflowtype. A workflow can have one or more- entity::Entitys that represent resource with a version.
- entity: the- entity::Entitytype.
- resolver: a resolver- resolver::Serverthat makes async requests and caches the result, and an async- resolver::Clientthat fills the- entity.latestfield with the latest version of the upstream entity.
- updater: the resolver can deal with different upstream API’s by using the- updater::Updtrait, which is generic over the currently supported- updater::dockerand- updater::githubupstreams.
 
Modules
Command line arguments parsing and main function.
Top level file processing function.
Type wrapper for versions; currently using semver
with lenient_semver