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

Command line arguments parsing and main function.

Error and Result types.

Top level file processing function.

The proxy Server spawns a task that makes async requests and caches the result, while async Client provides the API.

The Resource type.

Type wrapper for versions; currently using semver with lenient_semver

Workflow file parsing, into Workflow type.