Dart CI #3
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.5.7 | |
name: Dart CI | |
on: | |
push: | |
branches: | |
- main | |
- master | |
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@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
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@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: stable | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- name: mono_repo self validate | |
run: dart pub global activate mono_repo 6.5.7 | |
- name: mono_repo self validate | |
run: dart pub global run mono_repo generate --validate | |
job_002: | |
name: "analyze_and_format; Dart 3.0.0; PKGS: _test, _test_package, discoveryapis_commons, discoveryapis_generator, generated/googleapis, generated/googleapis_beta, generator, googleapis_auth, test_integration; `dart analyze`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:_test-_test_package-discoveryapis_commons-discoveryapis_generator-generated/googleapis-generated/googleapis_beta-generator-googleapis_auth-test_integration;commands:analyze_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:_test-_test_package-discoveryapis_commons-discoveryapis_generator-generated/googleapis-generated/googleapis_beta-generator-googleapis_auth-test_integration | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: "3.0.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: _test_pub_upgrade | |
name: _test; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: _test | |
- name: _test; dart analyze | |
run: dart analyze | |
if: "always() && steps._test_pub_upgrade.conclusion == 'success'" | |
working-directory: _test | |
- id: _test_package_pub_upgrade | |
name: _test_package; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: _test_package | |
- name: _test_package; dart analyze | |
run: dart analyze | |
if: "always() && steps._test_package_pub_upgrade.conclusion == 'success'" | |
working-directory: _test_package | |
- id: discoveryapis_commons_pub_upgrade | |
name: discoveryapis_commons; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: discoveryapis_commons | |
- name: discoveryapis_commons; dart analyze | |
run: dart analyze | |
if: "always() && steps.discoveryapis_commons_pub_upgrade.conclusion == 'success'" | |
working-directory: discoveryapis_commons | |
- id: discoveryapis_generator_pub_upgrade | |
name: discoveryapis_generator; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: discoveryapis_generator | |
- name: discoveryapis_generator; dart analyze | |
run: dart analyze | |
if: "always() && steps.discoveryapis_generator_pub_upgrade.conclusion == 'success'" | |
working-directory: discoveryapis_generator | |
- id: generated_googleapis_pub_upgrade | |
name: generated/googleapis; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: generated/googleapis | |
- name: generated/googleapis; dart analyze | |
run: dart analyze | |
if: "always() && steps.generated_googleapis_pub_upgrade.conclusion == 'success'" | |
working-directory: generated/googleapis | |
- id: generated_googleapis_beta_pub_upgrade | |
name: generated/googleapis_beta; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: generated/googleapis_beta | |
- name: generated/googleapis_beta; dart analyze | |
run: dart analyze | |
if: "always() && steps.generated_googleapis_beta_pub_upgrade.conclusion == 'success'" | |
working-directory: generated/googleapis_beta | |
- id: generator_pub_upgrade | |
name: generator; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: generator | |
- name: generator; dart analyze | |
run: dart analyze | |
if: "always() && steps.generator_pub_upgrade.conclusion == 'success'" | |
working-directory: generator | |
- id: googleapis_auth_pub_upgrade | |
name: googleapis_auth; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: googleapis_auth | |
- name: googleapis_auth; dart analyze | |
run: dart analyze | |
if: "always() && steps.googleapis_auth_pub_upgrade.conclusion == 'success'" | |
working-directory: googleapis_auth | |
- id: test_integration_pub_upgrade | |
name: test_integration; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: test_integration | |
- name: test_integration; dart analyze | |
run: dart analyze | |
if: "always() && steps.test_integration_pub_upgrade.conclusion == 'success'" | |
working-directory: test_integration | |
job_003: | |
name: "analyze_and_format; Dart dev; PKGS: _test, _test_package, discoveryapis_commons, discoveryapis_generator, generated/googleapis, generated/googleapis_beta, generator, googleapis_auth, test_integration; `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@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test-_test_package-discoveryapis_commons-discoveryapis_generator-generated/googleapis-generated/googleapis_beta-generator-googleapis_auth-test_integration;commands:format-analyze_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test-_test_package-discoveryapis_commons-discoveryapis_generator-generated/googleapis-generated/googleapis_beta-generator-googleapis_auth-test_integration | |
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@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: _test_pub_upgrade | |
name: _test; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: _test | |
- name: "_test; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps._test_pub_upgrade.conclusion == 'success'" | |
working-directory: _test | |
- name: "_test; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps._test_pub_upgrade.conclusion == 'success'" | |
working-directory: _test | |
- id: _test_package_pub_upgrade | |
name: _test_package; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: _test_package | |
- name: "_test_package; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps._test_package_pub_upgrade.conclusion == 'success'" | |
working-directory: _test_package | |
- name: "_test_package; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps._test_package_pub_upgrade.conclusion == 'success'" | |
working-directory: _test_package | |
- id: discoveryapis_commons_pub_upgrade | |
name: discoveryapis_commons; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: discoveryapis_commons | |
- name: "discoveryapis_commons; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.discoveryapis_commons_pub_upgrade.conclusion == 'success'" | |
working-directory: discoveryapis_commons | |
- name: "discoveryapis_commons; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.discoveryapis_commons_pub_upgrade.conclusion == 'success'" | |
working-directory: discoveryapis_commons | |
- id: discoveryapis_generator_pub_upgrade | |
name: discoveryapis_generator; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: discoveryapis_generator | |
- name: "discoveryapis_generator; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.discoveryapis_generator_pub_upgrade.conclusion == 'success'" | |
working-directory: discoveryapis_generator | |
- name: "discoveryapis_generator; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.discoveryapis_generator_pub_upgrade.conclusion == 'success'" | |
working-directory: discoveryapis_generator | |
- id: generated_googleapis_pub_upgrade | |
name: generated/googleapis; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: generated/googleapis | |
- name: "generated/googleapis; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.generated_googleapis_pub_upgrade.conclusion == 'success'" | |
working-directory: generated/googleapis | |
- name: "generated/googleapis; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.generated_googleapis_pub_upgrade.conclusion == 'success'" | |
working-directory: generated/googleapis | |
- id: generated_googleapis_beta_pub_upgrade | |
name: generated/googleapis_beta; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: generated/googleapis_beta | |
- name: "generated/googleapis_beta; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.generated_googleapis_beta_pub_upgrade.conclusion == 'success'" | |
working-directory: generated/googleapis_beta | |
- name: "generated/googleapis_beta; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.generated_googleapis_beta_pub_upgrade.conclusion == 'success'" | |
working-directory: generated/googleapis_beta | |
- id: generator_pub_upgrade | |
name: generator; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: generator | |
- name: "generator; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.generator_pub_upgrade.conclusion == 'success'" | |
working-directory: generator | |
- name: "generator; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.generator_pub_upgrade.conclusion == 'success'" | |
working-directory: generator | |
- id: googleapis_auth_pub_upgrade | |
name: googleapis_auth; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: googleapis_auth | |
- name: "googleapis_auth; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.googleapis_auth_pub_upgrade.conclusion == 'success'" | |
working-directory: googleapis_auth | |
- name: "googleapis_auth; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.googleapis_auth_pub_upgrade.conclusion == 'success'" | |
working-directory: googleapis_auth | |
- id: test_integration_pub_upgrade | |
name: test_integration; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: test_integration | |
- name: "test_integration; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.test_integration_pub_upgrade.conclusion == 'success'" | |
working-directory: test_integration | |
- name: "test_integration; dart analyze --fatal-infos ." | |
run: dart analyze --fatal-infos . | |
if: "always() && steps.test_integration_pub_upgrade.conclusion == 'success'" | |
working-directory: test_integration | |
job_004: | |
name: "unittest; Dart 3.0.0; PKG: _test_package; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:_test_package;commands:test_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:_test_package | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: "3.0.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: _test_package_pub_upgrade | |
name: _test_package; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: _test_package | |
- name: _test_package; dart test | |
run: dart test | |
if: "always() && steps._test_package_pub_upgrade.conclusion == 'success'" | |
working-directory: _test_package | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_005: | |
name: "unittest; Dart 3.0.0; PKG: discoveryapis_commons; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:discoveryapis_commons;commands:test_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:discoveryapis_commons | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: "3.0.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: discoveryapis_commons_pub_upgrade | |
name: discoveryapis_commons; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: discoveryapis_commons | |
- name: discoveryapis_commons; dart test | |
run: dart test | |
if: "always() && steps.discoveryapis_commons_pub_upgrade.conclusion == 'success'" | |
working-directory: discoveryapis_commons | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_006: | |
name: "unittest; Dart 3.0.0; PKG: discoveryapis_generator; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:discoveryapis_generator;commands:test_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:discoveryapis_generator | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: "3.0.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: discoveryapis_generator_pub_upgrade | |
name: discoveryapis_generator; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: discoveryapis_generator | |
- name: discoveryapis_generator; dart test | |
run: dart test | |
if: "always() && steps.discoveryapis_generator_pub_upgrade.conclusion == 'success'" | |
working-directory: discoveryapis_generator | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_007: | |
name: "unittest; Dart 3.0.0; PKG: generated/googleapis; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:generated/googleapis;commands:test_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:generated/googleapis | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: "3.0.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: generated_googleapis_pub_upgrade | |
name: generated/googleapis; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: generated/googleapis | |
- name: generated/googleapis; dart test | |
run: dart test | |
if: "always() && steps.generated_googleapis_pub_upgrade.conclusion == 'success'" | |
working-directory: generated/googleapis | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_008: | |
name: "unittest; Dart 3.0.0; PKG: generated/googleapis_beta; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:generated/googleapis_beta;commands:test_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:generated/googleapis_beta | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: "3.0.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: generated_googleapis_beta_pub_upgrade | |
name: generated/googleapis_beta; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: generated/googleapis_beta | |
- name: generated/googleapis_beta; dart test | |
run: dart test | |
if: "always() && steps.generated_googleapis_beta_pub_upgrade.conclusion == 'success'" | |
working-directory: generated/googleapis_beta | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_009: | |
name: "unittest; Dart 3.0.0; PKG: googleapis_auth; `dart test -p chrome`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:googleapis_auth;commands:test_2" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:googleapis_auth | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: "3.0.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: googleapis_auth_pub_upgrade | |
name: googleapis_auth; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: googleapis_auth | |
- name: "googleapis_auth; dart test -p chrome" | |
run: dart test -p chrome | |
if: "always() && steps.googleapis_auth_pub_upgrade.conclusion == 'success'" | |
working-directory: googleapis_auth | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_010: | |
name: "unittest; Dart 3.0.0; PKG: googleapis_auth; `dart test -p vm`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:googleapis_auth;commands:test_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:googleapis_auth | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: "3.0.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: googleapis_auth_pub_upgrade | |
name: googleapis_auth; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: googleapis_auth | |
- name: "googleapis_auth; dart test -p vm" | |
run: dart test -p vm | |
if: "always() && steps.googleapis_auth_pub_upgrade.conclusion == 'success'" | |
working-directory: googleapis_auth | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_011: | |
name: "unittest; Dart dev; PKG: _test_package; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_package;commands:test_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_package | |
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@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: _test_package_pub_upgrade | |
name: _test_package; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: _test_package | |
- name: _test_package; dart test | |
run: dart test | |
if: "always() && steps._test_package_pub_upgrade.conclusion == 'success'" | |
working-directory: _test_package | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_012: | |
name: "unittest; Dart dev; PKG: discoveryapis_commons; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:discoveryapis_commons;commands:test_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:discoveryapis_commons | |
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@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: discoveryapis_commons_pub_upgrade | |
name: discoveryapis_commons; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: discoveryapis_commons | |
- name: discoveryapis_commons; dart test | |
run: dart test | |
if: "always() && steps.discoveryapis_commons_pub_upgrade.conclusion == 'success'" | |
working-directory: discoveryapis_commons | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_013: | |
name: "unittest; Dart dev; PKG: discoveryapis_generator; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:discoveryapis_generator;commands:test_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:discoveryapis_generator | |
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@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: discoveryapis_generator_pub_upgrade | |
name: discoveryapis_generator; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: discoveryapis_generator | |
- name: discoveryapis_generator; dart test | |
run: dart test | |
if: "always() && steps.discoveryapis_generator_pub_upgrade.conclusion == 'success'" | |
working-directory: discoveryapis_generator | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_014: | |
name: "unittest; Dart dev; PKG: generated/googleapis; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:generated/googleapis;commands:test_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:generated/googleapis | |
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@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: generated_googleapis_pub_upgrade | |
name: generated/googleapis; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: generated/googleapis | |
- name: generated/googleapis; dart test | |
run: dart test | |
if: "always() && steps.generated_googleapis_pub_upgrade.conclusion == 'success'" | |
working-directory: generated/googleapis | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_015: | |
name: "unittest; Dart dev; PKG: generated/googleapis_beta; `dart test`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:generated/googleapis_beta;commands:test_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:generated/googleapis_beta | |
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@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: generated_googleapis_beta_pub_upgrade | |
name: generated/googleapis_beta; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: generated/googleapis_beta | |
- name: generated/googleapis_beta; dart test | |
run: dart test | |
if: "always() && steps.generated_googleapis_beta_pub_upgrade.conclusion == 'success'" | |
working-directory: generated/googleapis_beta | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_016: | |
name: "unittest; Dart dev; PKG: googleapis_auth; `dart test -p chrome`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:googleapis_auth;commands:test_2" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:googleapis_auth | |
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@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: googleapis_auth_pub_upgrade | |
name: googleapis_auth; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: googleapis_auth | |
- name: "googleapis_auth; dart test -p chrome" | |
run: dart test -p chrome | |
if: "always() && steps.googleapis_auth_pub_upgrade.conclusion == 'success'" | |
working-directory: googleapis_auth | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
job_017: | |
name: "unittest; Dart dev; PKG: googleapis_auth; `dart test -p vm`" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:googleapis_auth;commands:test_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:googleapis_auth | |
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@d6a63dab3335f427404425de0fbfed4686d93c4f | |
with: | |
sdk: dev | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- id: googleapis_auth_pub_upgrade | |
name: googleapis_auth; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: googleapis_auth | |
- name: "googleapis_auth; dart test -p vm" | |
run: dart test -p vm | |
if: "always() && steps.googleapis_auth_pub_upgrade.conclusion == 'success'" | |
working-directory: googleapis_auth | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 |