tasks:
- name: prepare tool
script: .ci/scripts/prepare_tool.sh
infra_step: true
- name: download Dart deps
script: .ci/scripts/tool_runner.sh
args: ["fetch-deps"]
infra_step: true
- name: tool unit tests
script: .ci/scripts/plugin_tools_tests.sh
- name: tool format
script: .ci/scripts/plugin_tools_format.sh
- name: format
script: .ci/scripts/tool_runner.sh
args: ["format", "--fail-on-change", "--no-swift"]
always: true
- name: license validation
script: .ci/scripts/tool_runner.sh
args: ["license-check"]
always: true
- name: pubspec validation
script: .ci/scripts/tool_runner.sh
args:
- "pubspec-check"
- "--min-min-flutter-version=3.32.0"
- "--allow-dependencies=script/configs/allowed_unpinned_deps.yaml"
- "--allow-pinned-dependencies=script/configs/allowed_pinned_deps.yaml"
always: true
- name: README validation
script: .ci/scripts/tool_runner.sh
args: ["readme-check"]
always: true
- name: README snippet configuration validation
script: .ci/scripts/tool_runner.sh
args: ["readme-check", "--require-excerpts", "--exclude=script/configs/temp_exclude_excerpt.yaml"]
always: true
- name: README snippet validation
script: .ci/scripts/tool_runner.sh
args: ["update-excerpts", "--fail-on-change"]
always: true
- name: Gradle validation
script: .ci/scripts/tool_runner.sh
args: ["gradle-check"]
always: true
- name: Repository-level package metadata validation
script: .ci/scripts/tool_runner.sh
args: ["check-repo-package-info"]
always: true
- name: Dependabot coverage validation
script: .ci/scripts/tool_runner.sh
args: ["dependabot-check"]
always: true
- name: CHANGELOG and version validation
script: .ci/scripts/check_version.sh
always: true
- name: federated safety check
script: .ci/scripts/check_federated_safety.sh
always: true
- name: publishability
script: .ci/scripts/tool_runner.sh
args: ["publish-check", "--allow-pre-release"]
always: true