tasks:
  - name: prepare tool
    script: .ci/scripts/prepare_tool.sh
  # Does a sanity check that packages pass analysis with the lowest possible
  # versions of all dependencies. This is to catch cases where we add use of
  # new APIs but forget to update minimum versions of dependencies to where
  # those APIs are introduced.
  - name: analyze - downgraded
    script: .ci/scripts/tool_runner.sh
    args: ["analyze", "--downgrade", "--custom-analysis=script/configs/custom_analysis.yaml"]