contribute a prompt benchmarking script #1069
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created with package:mono_repo v6.6.1 | |
name: Dart CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: "0 0 * * 0" | |
defaults: | |
run: | |
shell: bash | |
env: | |
PUB_ENVIRONMENT: bot.github | |
permissions: read-all | |
jobs: | |
job_001: | |
name: mono_repo self validate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: stable | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: mono_repo self validate | |
run: dart pub global activate mono_repo 6.6.1 | |
- name: mono_repo self validate | |
run: dart pub global run mono_repo generate --validate | |
job_002: | |
name: "analyze_and_format; Dart 3.1.0; PKGS: pkgs/corpus, pkgs/firehose, pkgs/repo_manage; `dart analyze --fatal-infos .`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:pkgs/corpus-pkgs/firehose-pkgs/repo_manage;commands:analyze" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:pkgs/corpus-pkgs/firehose-pkgs/repo_manage | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.1.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_corpus_pub_upgrade | |
name: pkgs/corpus; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/corpus | |
- name: "pkgs/corpus; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.pkgs_corpus_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/corpus | |
- id: pkgs_firehose_pub_upgrade | |
name: pkgs/firehose; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/firehose | |
- name: "pkgs/firehose; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.pkgs_firehose_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/firehose | |
- id: pkgs_repo_manage_pub_upgrade | |
name: pkgs/repo_manage; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/repo_manage | |
- name: "pkgs/repo_manage; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.pkgs_repo_manage_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/repo_manage | |
needs: | |
- job_001 | |
job_003: | |
name: "analyze_and_format; Dart 3.4.0; PKGS: pkgs/dart_flutter_team_lints, pkgs/sdk_triage_bot; `dart analyze --fatal-infos .`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/dart_flutter_team_lints-pkgs/sdk_triage_bot;commands:analyze" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/dart_flutter_team_lints-pkgs/sdk_triage_bot | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.4.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_dart_flutter_team_lints_pub_upgrade | |
name: pkgs/dart_flutter_team_lints; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/dart_flutter_team_lints | |
- name: "pkgs/dart_flutter_team_lints; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.pkgs_dart_flutter_team_lints_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/dart_flutter_team_lints | |
- id: pkgs_sdk_triage_bot_pub_upgrade | |
name: pkgs/sdk_triage_bot; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/sdk_triage_bot | |
- name: "pkgs/sdk_triage_bot; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.pkgs_sdk_triage_bot_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/sdk_triage_bot | |
needs: | |
- job_001 | |
job_004: | |
name: "analyze_and_format; Dart dev; PKGS: pkgs/corpus, pkgs/dart_flutter_team_lints, pkgs/firehose, pkgs/repo_manage, pkgs/sdk_triage_bot; `dart analyze --fatal-infos .`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/corpus-pkgs/dart_flutter_team_lints-pkgs/firehose-pkgs/repo_manage-pkgs/sdk_triage_bot;commands:analyze" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/corpus-pkgs/dart_flutter_team_lints-pkgs/firehose-pkgs/repo_manage-pkgs/sdk_triage_bot | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_corpus_pub_upgrade | |
name: pkgs/corpus; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/corpus | |
- name: "pkgs/corpus; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.pkgs_corpus_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/corpus | |
- id: pkgs_dart_flutter_team_lints_pub_upgrade | |
name: pkgs/dart_flutter_team_lints; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/dart_flutter_team_lints | |
- name: "pkgs/dart_flutter_team_lints; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.pkgs_dart_flutter_team_lints_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/dart_flutter_team_lints | |
- id: pkgs_firehose_pub_upgrade | |
name: pkgs/firehose; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/firehose | |
- name: "pkgs/firehose; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.pkgs_firehose_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/firehose | |
- id: pkgs_repo_manage_pub_upgrade | |
name: pkgs/repo_manage; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/repo_manage | |
- name: "pkgs/repo_manage; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.pkgs_repo_manage_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/repo_manage | |
- id: pkgs_sdk_triage_bot_pub_upgrade | |
name: pkgs/sdk_triage_bot; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/sdk_triage_bot | |
- name: "pkgs/sdk_triage_bot; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.pkgs_sdk_triage_bot_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/sdk_triage_bot | |
needs: | |
- job_001 | |
job_005: | |
name: "analyze_and_format; Dart dev; PKGS: pkgs/corpus, pkgs/dart_flutter_team_lints, pkgs/firehose, pkgs/repo_manage, pkgs/sdk_triage_bot; `dart format --output=none --set-exit-if-changed .`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/corpus-pkgs/dart_flutter_team_lints-pkgs/firehose-pkgs/repo_manage-pkgs/sdk_triage_bot;commands:format" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/corpus-pkgs/dart_flutter_team_lints-pkgs/firehose-pkgs/repo_manage-pkgs/sdk_triage_bot | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_corpus_pub_upgrade | |
name: pkgs/corpus; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/corpus | |
- name: "pkgs/corpus; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_corpus_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/corpus | |
- id: pkgs_dart_flutter_team_lints_pub_upgrade | |
name: pkgs/dart_flutter_team_lints; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/dart_flutter_team_lints | |
- name: "pkgs/dart_flutter_team_lints; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_dart_flutter_team_lints_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/dart_flutter_team_lints | |
- id: pkgs_firehose_pub_upgrade | |
name: pkgs/firehose; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/firehose | |
- name: "pkgs/firehose; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_firehose_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/firehose | |
- id: pkgs_repo_manage_pub_upgrade | |
name: pkgs/repo_manage; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/repo_manage | |
- name: "pkgs/repo_manage; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_repo_manage_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/repo_manage | |
- id: pkgs_sdk_triage_bot_pub_upgrade | |
name: pkgs/sdk_triage_bot; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/sdk_triage_bot | |
- name: "pkgs/sdk_triage_bot; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_sdk_triage_bot_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/sdk_triage_bot | |
needs: | |
- job_001 | |
job_006: | |
name: "unit_test; Dart 3.1.0; PKG: pkgs/corpus; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:pkgs/corpus;commands:test_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:pkgs/corpus | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.1.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_corpus_pub_upgrade | |
name: pkgs/corpus; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/corpus | |
- name: pkgs/corpus; dart test | |
run: dart test | |
if: "always() && steps.pkgs_corpus_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/corpus | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
job_007: | |
name: "unit_test; Dart 3.1.0; PKG: pkgs/firehose; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:pkgs/firehose;commands:test_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:pkgs/firehose | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.1.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_firehose_pub_upgrade | |
name: pkgs/firehose; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/firehose | |
- name: pkgs/firehose; dart test | |
run: dart test | |
if: "always() && steps.pkgs_firehose_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/firehose | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
job_008: | |
name: "unit_test; Dart 3.4.0; PKG: pkgs/dart_flutter_team_lints; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/dart_flutter_team_lints;commands:test_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/dart_flutter_team_lints | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.4.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_dart_flutter_team_lints_pub_upgrade | |
name: pkgs/dart_flutter_team_lints; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/dart_flutter_team_lints | |
- name: pkgs/dart_flutter_team_lints; dart test | |
run: dart test | |
if: "always() && steps.pkgs_dart_flutter_team_lints_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/dart_flutter_team_lints | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
job_009: | |
name: "unit_test; Dart 3.4.0; PKG: pkgs/sdk_triage_bot; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/sdk_triage_bot;commands:test_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/sdk_triage_bot | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.4.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_sdk_triage_bot_pub_upgrade | |
name: pkgs/sdk_triage_bot; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/sdk_triage_bot | |
- name: pkgs/sdk_triage_bot; dart test | |
run: dart test | |
if: "always() && steps.pkgs_sdk_triage_bot_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/sdk_triage_bot | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
job_010: | |
name: "unit_test; Dart dev; PKG: pkgs/corpus; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/corpus;commands:test_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/corpus | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_corpus_pub_upgrade | |
name: pkgs/corpus; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/corpus | |
- name: pkgs/corpus; dart test | |
run: dart test | |
if: "always() && steps.pkgs_corpus_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/corpus | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
job_011: | |
name: "unit_test; Dart dev; PKG: pkgs/dart_flutter_team_lints; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/dart_flutter_team_lints;commands:test_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/dart_flutter_team_lints | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_dart_flutter_team_lints_pub_upgrade | |
name: pkgs/dart_flutter_team_lints; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/dart_flutter_team_lints | |
- name: pkgs/dart_flutter_team_lints; dart test | |
run: dart test | |
if: "always() && steps.pkgs_dart_flutter_team_lints_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/dart_flutter_team_lints | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
job_012: | |
name: "unit_test; Dart dev; PKG: pkgs/firehose; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/firehose;commands:test_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/firehose | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_firehose_pub_upgrade | |
name: pkgs/firehose; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/firehose | |
- name: pkgs/firehose; dart test | |
run: dart test | |
if: "always() && steps.pkgs_firehose_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/firehose | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
job_013: | |
name: "unit_test; Dart dev; PKG: pkgs/sdk_triage_bot; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/sdk_triage_bot;commands:test_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/sdk_triage_bot | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_sdk_triage_bot_pub_upgrade | |
name: pkgs/sdk_triage_bot; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/sdk_triage_bot | |
- name: pkgs/sdk_triage_bot; dart test | |
run: dart test | |
if: "always() && steps.pkgs_sdk_triage_bot_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/sdk_triage_bot | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
job_014: | |
name: "analyze_format; Dart dev; PKG: pkgs/blast_repo; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/blast_repo;commands:format-analyze" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/blast_repo | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_blast_repo_pub_upgrade | |
name: pkgs/blast_repo; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/blast_repo | |
- name: "pkgs/blast_repo; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_blast_repo_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/blast_repo | |
- name: "pkgs/blast_repo; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.pkgs_blast_repo_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/blast_repo | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
- job_009 | |
- job_010 | |
- job_011 | |
- job_012 | |
- job_013 | |
job_015: | |
name: "test; Dart dev; PKG: pkgs/blast_repo; `dart test --test-randomize-ordering-seed=random`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/blast_repo;commands:test_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/blast_repo | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_blast_repo_pub_upgrade | |
name: pkgs/blast_repo; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/blast_repo | |
- name: "pkgs/blast_repo; dart test --test-randomize-ordering-seed=random" | |
run: "dart test --test-randomize-ordering-seed=random" | |
if: "always() && steps.pkgs_blast_repo_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/blast_repo | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
- job_009 | |
- job_010 | |
- job_011 | |
- job_012 | |
- job_013 | |
- job_014 |