Crate github_workflows_update

Source
Expand description

Check if github actions used in a workflow can be updated

§Code structure

  • Utility modules:
  • Main functionality:
    • processor: top level file processing function.
    • workflow: workflow file parsing, into workflow::Workflow type. The workflow has the the set of resource-versions that the workflow uses, and also fetches all latest versions using the proxy.
    • proxy: a proxy proxy::Server that makes async requests and caches the results.

Modules§

cmd
Command line arguments parsing and main function.
error
Error and Result types.
processor
Top level file processing function.
proxy
The proxy Server spawns a task that makes async requests and caches the result, while async Client provides the API.
resource
The Resource type.
updater
version
Type wrapper for versions; currently using semver with lenient_semver
workflow
Workflow file parsing, into Workflow type.