Dart CI #25
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 | |
- 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@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; linux; Dart 3.2.0; PKG: pkgs/http_client_conformance_tests; `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.2.0;packages:pkgs/http_client_conformance_tests;commands:analyze_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0;packages:pkgs/http_client_conformance_tests | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.2.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.2.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_http_client_conformance_tests_pub_upgrade | |
name: pkgs/http_client_conformance_tests; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http_client_conformance_tests | |
- name: "pkgs/http_client_conformance_tests; dart analyze --fatal-infos" | |
run: dart analyze --fatal-infos | |
if: "always() && steps.pkgs_http_client_conformance_tests_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http_client_conformance_tests | |
job_003: | |
name: "analyze_and_format; linux; Dart 3.3.0; PKGS: pkgs/http, pkgs/web_socket, pkgs/web_socket_conformance_tests; `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.3.0;packages:pkgs/http-pkgs/web_socket-pkgs/web_socket_conformance_tests;commands:analyze_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0;packages:pkgs/http-pkgs/web_socket-pkgs/web_socket_conformance_tests | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.3.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_http_pub_upgrade | |
name: pkgs/http; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http | |
- name: "pkgs/http; dart analyze --fatal-infos" | |
run: dart analyze --fatal-infos | |
if: "always() && steps.pkgs_http_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http | |
- id: pkgs_web_socket_pub_upgrade | |
name: pkgs/web_socket; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
- name: "pkgs/web_socket; dart analyze --fatal-infos" | |
run: dart analyze --fatal-infos | |
if: "always() && steps.pkgs_web_socket_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
- id: pkgs_web_socket_conformance_tests_pub_upgrade | |
name: pkgs/web_socket_conformance_tests; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/web_socket_conformance_tests | |
- name: "pkgs/web_socket_conformance_tests; dart analyze --fatal-infos" | |
run: dart analyze --fatal-infos | |
if: "always() && steps.pkgs_web_socket_conformance_tests_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/web_socket_conformance_tests | |
job_004: | |
name: "analyze_and_format; linux; Dart 3.4.0; PKG: pkgs/http_profile; `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/http_profile;commands:analyze_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/http_profile | |
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_http_profile_pub_upgrade | |
name: pkgs/http_profile; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http_profile | |
- name: "pkgs/http_profile; dart analyze --fatal-infos" | |
run: dart analyze --fatal-infos | |
if: "always() && steps.pkgs_http_profile_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http_profile | |
job_005: | |
name: "analyze_and_format; linux; Dart dev; PKGS: pkgs/http, pkgs/http_client_conformance_tests, pkgs/http_profile, pkgs/web_socket, pkgs/web_socket_conformance_tests; `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/http-pkgs/http_client_conformance_tests-pkgs/http_profile-pkgs/web_socket-pkgs/web_socket_conformance_tests;commands:analyze_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/http-pkgs/http_client_conformance_tests-pkgs/http_profile-pkgs/web_socket-pkgs/web_socket_conformance_tests | |
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_http_pub_upgrade | |
name: pkgs/http; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http | |
- name: "pkgs/http; dart analyze --fatal-infos" | |
run: dart analyze --fatal-infos | |
if: "always() && steps.pkgs_http_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http | |
- id: pkgs_http_client_conformance_tests_pub_upgrade | |
name: pkgs/http_client_conformance_tests; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http_client_conformance_tests | |
- name: "pkgs/http_client_conformance_tests; dart analyze --fatal-infos" | |
run: dart analyze --fatal-infos | |
if: "always() && steps.pkgs_http_client_conformance_tests_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http_client_conformance_tests | |
- id: pkgs_http_profile_pub_upgrade | |
name: pkgs/http_profile; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http_profile | |
- name: "pkgs/http_profile; dart analyze --fatal-infos" | |
run: dart analyze --fatal-infos | |
if: "always() && steps.pkgs_http_profile_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http_profile | |
- id: pkgs_web_socket_pub_upgrade | |
name: pkgs/web_socket; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
- name: "pkgs/web_socket; dart analyze --fatal-infos" | |
run: dart analyze --fatal-infos | |
if: "always() && steps.pkgs_web_socket_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
- id: pkgs_web_socket_conformance_tests_pub_upgrade | |
name: pkgs/web_socket_conformance_tests; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/web_socket_conformance_tests | |
- name: "pkgs/web_socket_conformance_tests; dart analyze --fatal-infos" | |
run: dart analyze --fatal-infos | |
if: "always() && steps.pkgs_web_socket_conformance_tests_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/web_socket_conformance_tests | |
job_006: | |
name: "analyze_and_format; linux; Dart dev; PKGS: pkgs/http, pkgs/http_client_conformance_tests, pkgs/http_profile, pkgs/web_socket, pkgs/web_socket_conformance_tests; `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/http-pkgs/http_client_conformance_tests-pkgs/http_profile-pkgs/web_socket-pkgs/web_socket_conformance_tests;commands:format" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/http-pkgs/http_client_conformance_tests-pkgs/http_profile-pkgs/web_socket-pkgs/web_socket_conformance_tests | |
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_http_pub_upgrade | |
name: pkgs/http; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http | |
- name: "pkgs/http; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_http_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http | |
- id: pkgs_http_client_conformance_tests_pub_upgrade | |
name: pkgs/http_client_conformance_tests; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http_client_conformance_tests | |
- name: "pkgs/http_client_conformance_tests; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_http_client_conformance_tests_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http_client_conformance_tests | |
- id: pkgs_http_profile_pub_upgrade | |
name: pkgs/http_profile; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http_profile | |
- name: "pkgs/http_profile; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_http_profile_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http_profile | |
- id: pkgs_web_socket_pub_upgrade | |
name: pkgs/web_socket; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
- name: "pkgs/web_socket; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_web_socket_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
- id: pkgs_web_socket_conformance_tests_pub_upgrade | |
name: pkgs/web_socket_conformance_tests; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/web_socket_conformance_tests | |
- name: "pkgs/web_socket_conformance_tests; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_web_socket_conformance_tests_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/web_socket_conformance_tests | |
job_007: | |
name: "analyze_and_format; linux; Flutter stable; PKG: pkgs/flutter_http_example; `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:stable;packages:pkgs/flutter_http_example;commands:format" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:pkgs/flutter_http_example | |
os:ubuntu-latest;pub-cache-hosted;sdk:stable | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Flutter SDK | |
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 | |
with: | |
channel: stable | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_flutter_http_example_pub_upgrade | |
name: pkgs/flutter_http_example; flutter pub upgrade | |
run: flutter pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
- name: "pkgs/flutter_http_example; dart format --output=none --set-exit-if-changed ." | |
run: "dart format --output=none --set-exit-if-changed ." | |
if: "always() && steps.pkgs_flutter_http_example_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
job_008: | |
name: "analyze_and_format; linux; Flutter stable; PKG: pkgs/flutter_http_example; `flutter 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:stable;packages:pkgs/flutter_http_example;commands:analyze_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:pkgs/flutter_http_example | |
os:ubuntu-latest;pub-cache-hosted;sdk:stable | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Flutter SDK | |
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 | |
with: | |
channel: stable | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_flutter_http_example_pub_upgrade | |
name: pkgs/flutter_http_example; flutter pub upgrade | |
run: flutter pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
- name: "pkgs/flutter_http_example; flutter analyze --fatal-infos" | |
run: flutter analyze --fatal-infos | |
if: "always() && steps.pkgs_flutter_http_example_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
job_009: | |
name: "unit_test; linux; Dart 3.3.0; PKG: pkgs/http; `dart run --define=no_default_http_client=true test/no_default_http_client_test.dart`" | |
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.3.0;packages:pkgs/http;commands:command_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0;packages:pkgs/http | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.3.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_http_pub_upgrade | |
name: pkgs/http; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http | |
- name: "pkgs/http; dart run --define=no_default_http_client=true test/no_default_http_client_test.dart" | |
run: "dart run --define=no_default_http_client=true test/no_default_http_client_test.dart" | |
if: "always() && steps.pkgs_http_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_010: | |
name: "unit_test; linux; Dart 3.3.0; PKG: pkgs/http; `dart test --platform chrome`" | |
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.3.0;packages:pkgs/http;commands:test_3" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0;packages:pkgs/http | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.3.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_http_pub_upgrade | |
name: pkgs/http; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http | |
- name: "pkgs/http; dart test --platform chrome" | |
run: dart test --platform chrome | |
if: "always() && steps.pkgs_http_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_011: | |
name: "unit_test; linux; Dart 3.3.0; PKG: pkgs/http; `dart test --platform vm`" | |
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.3.0;packages:pkgs/http;commands:test_2" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0;packages:pkgs/http | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.3.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_http_pub_upgrade | |
name: pkgs/http; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http | |
- name: "pkgs/http; dart test --platform vm" | |
run: dart test --platform vm | |
if: "always() && steps.pkgs_http_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_012: | |
name: "unit_test; linux; Dart 3.3.0; PKG: pkgs/web_socket; `dart test --test-randomize-ordering-seed=random -p chrome -c dart2js`" | |
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.3.0;packages:pkgs/web_socket;commands:test_6" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0;packages:pkgs/web_socket | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.3.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_web_socket_pub_upgrade | |
name: pkgs/web_socket; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
- name: "pkgs/web_socket; dart test --test-randomize-ordering-seed=random -p chrome -c dart2js" | |
run: "dart test --test-randomize-ordering-seed=random -p chrome -c dart2js" | |
if: "always() && steps.pkgs_web_socket_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_013: | |
name: "unit_test; linux; Dart 3.3.0; PKG: pkgs/web_socket; `dart test --test-randomize-ordering-seed=random -p vm`" | |
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.3.0;packages:pkgs/web_socket;commands:test_5" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0;packages:pkgs/web_socket | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.3.0 | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Dart SDK | |
uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: "3.3.0" | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_web_socket_pub_upgrade | |
name: pkgs/web_socket; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
- name: "pkgs/web_socket; dart test --test-randomize-ordering-seed=random -p vm" | |
run: "dart test --test-randomize-ordering-seed=random -p vm" | |
if: "always() && steps.pkgs_web_socket_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_014: | |
name: "unit_test; linux; Dart 3.4.0; PKG: pkgs/http_profile; `dart test --platform vm`" | |
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/http_profile;commands:test_2" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:3.4.0;packages:pkgs/http_profile | |
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_http_profile_pub_upgrade | |
name: pkgs/http_profile; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http_profile | |
- name: "pkgs/http_profile; dart test --platform vm" | |
run: dart test --platform vm | |
if: "always() && steps.pkgs_http_profile_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http_profile | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_015: | |
name: "unit_test; linux; Dart dev; PKG: pkgs/http; `dart run --define=no_default_http_client=true test/no_default_http_client_test.dart`" | |
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/http;commands:command_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/http | |
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_http_pub_upgrade | |
name: pkgs/http; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http | |
- name: "pkgs/http; dart run --define=no_default_http_client=true test/no_default_http_client_test.dart" | |
run: "dart run --define=no_default_http_client=true test/no_default_http_client_test.dart" | |
if: "always() && steps.pkgs_http_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_016: | |
name: "unit_test; linux; Dart dev; PKG: pkgs/http; `dart test --platform chrome`" | |
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/http;commands:test_3" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/http | |
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_http_pub_upgrade | |
name: pkgs/http; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http | |
- name: "pkgs/http; dart test --platform chrome" | |
run: dart test --platform chrome | |
if: "always() && steps.pkgs_http_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_017: | |
name: "unit_test; linux; Dart dev; PKGS: pkgs/http, pkgs/http_profile; `dart test --platform vm`" | |
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/http-pkgs/http_profile;commands:test_2" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/http-pkgs/http_profile | |
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_http_pub_upgrade | |
name: pkgs/http; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http | |
- name: "pkgs/http; dart test --platform vm" | |
run: dart test --platform vm | |
if: "always() && steps.pkgs_http_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http | |
- id: pkgs_http_profile_pub_upgrade | |
name: pkgs/http_profile; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http_profile | |
- name: "pkgs/http_profile; dart test --platform vm" | |
run: dart test --platform vm | |
if: "always() && steps.pkgs_http_profile_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http_profile | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_018: | |
name: "unit_test; linux; Dart dev; PKG: pkgs/http; `dart test --test-randomize-ordering-seed=random -p chrome -c dart2wasm`" | |
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/http;commands:test_4" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/http | |
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_http_pub_upgrade | |
name: pkgs/http; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/http | |
- name: "pkgs/http; dart test --test-randomize-ordering-seed=random -p chrome -c dart2wasm" | |
run: "dart test --test-randomize-ordering-seed=random -p chrome -c dart2wasm" | |
if: "always() && steps.pkgs_http_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/http | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_019: | |
name: "unit_test; linux; Dart dev; PKG: pkgs/web_socket; `dart test --test-randomize-ordering-seed=random -p chrome -c dart2js`" | |
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/web_socket;commands:test_6" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/web_socket | |
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_web_socket_pub_upgrade | |
name: pkgs/web_socket; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
- name: "pkgs/web_socket; dart test --test-randomize-ordering-seed=random -p chrome -c dart2js" | |
run: "dart test --test-randomize-ordering-seed=random -p chrome -c dart2js" | |
if: "always() && steps.pkgs_web_socket_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_020: | |
name: "unit_test; linux; Dart dev; PKG: pkgs/web_socket; `dart test --test-randomize-ordering-seed=random -p vm`" | |
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/web_socket;commands:test_5" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:pkgs/web_socket | |
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_web_socket_pub_upgrade | |
name: pkgs/web_socket; dart pub upgrade | |
run: dart pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
- name: "pkgs/web_socket; dart test --test-randomize-ordering-seed=random -p vm" | |
run: "dart test --test-randomize-ordering-seed=random -p vm" | |
if: "always() && steps.pkgs_web_socket_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/web_socket | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_021: | |
name: "unit_test; linux; Flutter stable; PKG: pkgs/flutter_http_example; `flutter test --platform chrome`" | |
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;packages:pkgs/flutter_http_example;commands:test_1" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:pkgs/flutter_http_example | |
os:ubuntu-latest;pub-cache-hosted;sdk:stable | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Flutter SDK | |
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 | |
with: | |
channel: stable | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_flutter_http_example_pub_upgrade | |
name: pkgs/flutter_http_example; flutter pub upgrade | |
run: flutter pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
- name: "pkgs/flutter_http_example; flutter test --platform chrome" | |
run: flutter test --platform chrome | |
if: "always() && steps.pkgs_flutter_http_example_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_022: | |
name: "unit_test; linux; Flutter stable; PKG: pkgs/flutter_http_example; `flutter 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:stable;packages:pkgs/flutter_http_example;commands:command_0" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:pkgs/flutter_http_example | |
os:ubuntu-latest;pub-cache-hosted;sdk:stable | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- name: Setup Flutter SDK | |
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 | |
with: | |
channel: stable | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_flutter_http_example_pub_upgrade | |
name: pkgs/flutter_http_example; flutter pub upgrade | |
run: flutter pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
- name: pkgs/flutter_http_example; flutter test | |
run: flutter test | |
if: "always() && steps.pkgs_flutter_http_example_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_023: | |
name: "unit_test; macos; Flutter stable; PKG: pkgs/flutter_http_example; `flutter test`" | |
runs-on: macos-latest | |
steps: | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:macos-latest;pub-cache-hosted;sdk:stable;packages:pkgs/flutter_http_example;commands:command_0" | |
restore-keys: | | |
os:macos-latest;pub-cache-hosted;sdk:stable;packages:pkgs/flutter_http_example | |
os:macos-latest;pub-cache-hosted;sdk:stable | |
os:macos-latest;pub-cache-hosted | |
os:macos-latest | |
- name: Setup Flutter SDK | |
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 | |
with: | |
channel: stable | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_flutter_http_example_pub_upgrade | |
name: pkgs/flutter_http_example; flutter pub upgrade | |
run: flutter pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
- name: pkgs/flutter_http_example; flutter test | |
run: flutter test | |
if: "always() && steps.pkgs_flutter_http_example_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 | |
job_024: | |
name: "unit_test; windows; Flutter stable; PKG: pkgs/flutter_http_example; `flutter test`" | |
runs-on: windows-latest | |
steps: | |
- name: Setup Flutter SDK | |
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 | |
with: | |
channel: stable | |
- id: checkout | |
name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- id: pkgs_flutter_http_example_pub_upgrade | |
name: pkgs/flutter_http_example; flutter pub upgrade | |
run: flutter pub upgrade | |
if: "always() && steps.checkout.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
- name: pkgs/flutter_http_example; flutter test | |
run: flutter test | |
if: "always() && steps.pkgs_flutter_http_example_pub_upgrade.conclusion == 'success'" | |
working-directory: pkgs/flutter_http_example | |
needs: | |
- job_001 | |
- job_002 | |
- job_003 | |
- job_004 | |
- job_005 | |
- job_006 | |
- job_007 | |
- job_008 |