# Created with package:mono_repo v6.4.0 name: Dart CI on: push: branches: - main pull_request: 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@fd5de65bc895cf536527842281bea11763fefd77 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@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - name: mono_repo self validate run: dart pub global activate mono_repo 6.4.0 - name: mono_repo self validate run: dart pub global run mono_repo generate --validate job_002: name: "analyze; PKG: packages/dynamite; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite;commands:analyze_0" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_dynamite_pub_upgrade name: packages/dynamite; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/dynamite - name: "packages/dynamite; dart analyze --fatal-infos ." run: dart analyze --fatal-infos . if: "always() && steps.packages_dynamite_pub_upgrade.conclusion == 'success'" working-directory: packages/dynamite needs: - job_001 job_003: name: "analyze; PKG: packages/nextcloud; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud;commands:analyze_0" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_nextcloud_pub_upgrade name: packages/nextcloud; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/nextcloud - name: "packages/nextcloud; dart analyze --fatal-infos ." run: dart analyze --fatal-infos . if: "always() && steps.packages_nextcloud_pub_upgrade.conclusion == 'success'" working-directory: packages/nextcloud needs: - job_001 job_004: name: "analyze; PKG: packages/nextcloud_push_proxy; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud_push_proxy;commands:analyze_0" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud_push_proxy os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_nextcloud_push_proxy_pub_upgrade name: packages/nextcloud_push_proxy; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/nextcloud_push_proxy - name: "packages/nextcloud_push_proxy; dart analyze --fatal-infos ." run: dart analyze --fatal-infos . if: "always() && steps.packages_nextcloud_push_proxy_pub_upgrade.conclusion == 'success'" working-directory: packages/nextcloud_push_proxy needs: - job_001 job_005: name: "analyze; PKG: packages/sort_box; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box;commands:analyze_0" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_sort_box_pub_upgrade name: packages/sort_box; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/sort_box - name: "packages/sort_box; dart analyze --fatal-infos ." run: dart analyze --fatal-infos . if: "always() && steps.packages_sort_box_pub_upgrade.conclusion == 'success'" working-directory: packages/sort_box needs: - job_001 job_006: name: "analyze; PKG: packages/spec_templates; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/spec_templates;commands:analyze_0" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/spec_templates os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_spec_templates_pub_upgrade name: packages/spec_templates; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/spec_templates - name: "packages/spec_templates; dart analyze --fatal-infos ." run: dart analyze --fatal-infos . if: "always() && steps.packages_spec_templates_pub_upgrade.conclusion == 'success'" working-directory: packages/spec_templates needs: - job_001 job_007: name: "analyze; PKG: packages/dynamite; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite;commands:format" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_dynamite_pub_upgrade name: packages/dynamite; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/dynamite - name: "packages/dynamite; dart format --output=none --set-exit-if-changed --line-length 120 ." run: "dart format --output=none --set-exit-if-changed --line-length 120 ." if: "always() && steps.packages_dynamite_pub_upgrade.conclusion == 'success'" working-directory: packages/dynamite needs: - job_001 job_008: name: "analyze; PKG: packages/file_icons; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/file_icons;commands:format" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/file_icons 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@9d48f4efd5460d7013af812069d08b23f37aed20 with: channel: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_file_icons_pub_upgrade name: packages/file_icons; flutter pub upgrade run: flutter pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/file_icons - name: "packages/file_icons; dart format --output=none --set-exit-if-changed --line-length 120 ." run: "dart format --output=none --set-exit-if-changed --line-length 120 ." if: "always() && steps.packages_file_icons_pub_upgrade.conclusion == 'success'" working-directory: packages/file_icons needs: - job_001 job_009: name: "analyze; PKG: packages/neon; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon;commands:format" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon 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@9d48f4efd5460d7013af812069d08b23f37aed20 with: channel: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_neon_pub_upgrade name: packages/neon; flutter pub upgrade run: flutter pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/neon - name: "packages/neon; dart format --output=none --set-exit-if-changed --line-length 120 ." run: "dart format --output=none --set-exit-if-changed --line-length 120 ." if: "always() && steps.packages_neon_pub_upgrade.conclusion == 'success'" working-directory: packages/neon needs: - job_001 job_010: name: "analyze; PKG: packages/nextcloud; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud;commands:format" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_nextcloud_pub_upgrade name: packages/nextcloud; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/nextcloud - name: "packages/nextcloud; dart format --output=none --set-exit-if-changed --line-length 120 ." run: "dart format --output=none --set-exit-if-changed --line-length 120 ." if: "always() && steps.packages_nextcloud_pub_upgrade.conclusion == 'success'" working-directory: packages/nextcloud needs: - job_001 job_011: name: "analyze; PKG: packages/nextcloud_push_proxy; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud_push_proxy;commands:format" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud_push_proxy os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_nextcloud_push_proxy_pub_upgrade name: packages/nextcloud_push_proxy; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/nextcloud_push_proxy - name: "packages/nextcloud_push_proxy; dart format --output=none --set-exit-if-changed --line-length 120 ." run: "dart format --output=none --set-exit-if-changed --line-length 120 ." if: "always() && steps.packages_nextcloud_push_proxy_pub_upgrade.conclusion == 'success'" working-directory: packages/nextcloud_push_proxy needs: - job_001 job_012: name: "analyze; PKG: packages/settings; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/settings;commands:format" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/settings 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@9d48f4efd5460d7013af812069d08b23f37aed20 with: channel: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_settings_pub_upgrade name: packages/settings; flutter pub upgrade run: flutter pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/settings - name: "packages/settings; dart format --output=none --set-exit-if-changed --line-length 120 ." run: "dart format --output=none --set-exit-if-changed --line-length 120 ." if: "always() && steps.packages_settings_pub_upgrade.conclusion == 'success'" working-directory: packages/settings needs: - job_001 job_013: name: "analyze; PKG: packages/sort_box; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box;commands:format" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_sort_box_pub_upgrade name: packages/sort_box; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/sort_box - name: "packages/sort_box; dart format --output=none --set-exit-if-changed --line-length 120 ." run: "dart format --output=none --set-exit-if-changed --line-length 120 ." if: "always() && steps.packages_sort_box_pub_upgrade.conclusion == 'success'" working-directory: packages/sort_box needs: - job_001 job_014: name: "analyze; PKG: packages/spec_templates; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/spec_templates;commands:format" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/spec_templates os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_spec_templates_pub_upgrade name: packages/spec_templates; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/spec_templates - name: "packages/spec_templates; dart format --output=none --set-exit-if-changed --line-length 120 ." run: "dart format --output=none --set-exit-if-changed --line-length 120 ." if: "always() && steps.packages_spec_templates_pub_upgrade.conclusion == 'success'" working-directory: packages/spec_templates needs: - job_001 job_015: name: "analyze; PKG: packages/file_icons; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/file_icons;commands:analyze_1" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/file_icons 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@9d48f4efd5460d7013af812069d08b23f37aed20 with: channel: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_file_icons_pub_upgrade name: packages/file_icons; flutter pub upgrade run: flutter pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/file_icons - name: "packages/file_icons; flutter analyze --fatal-infos ." run: flutter analyze --fatal-infos . if: "always() && steps.packages_file_icons_pub_upgrade.conclusion == 'success'" working-directory: packages/file_icons needs: - job_001 job_016: name: "analyze; PKG: packages/neon; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon;commands:analyze_1" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon 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@9d48f4efd5460d7013af812069d08b23f37aed20 with: channel: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_neon_pub_upgrade name: packages/neon; flutter pub upgrade run: flutter pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/neon - name: "packages/neon; flutter analyze --fatal-infos ." run: flutter analyze --fatal-infos . if: "always() && steps.packages_neon_pub_upgrade.conclusion == 'success'" working-directory: packages/neon needs: - job_001 job_017: name: "analyze; PKG: packages/settings; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/settings;commands:analyze_1" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/settings 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@9d48f4efd5460d7013af812069d08b23f37aed20 with: channel: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_settings_pub_upgrade name: packages/settings; flutter pub upgrade run: flutter pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/settings - name: "packages/settings; flutter analyze --fatal-infos ." run: flutter analyze --fatal-infos . if: "always() && steps.packages_settings_pub_upgrade.conclusion == 'success'" working-directory: packages/settings needs: - job_001 job_018: name: "unit_test; PKG: packages/nextcloud; `dart test`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud;commands:test" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_nextcloud_pub_upgrade name: packages/nextcloud; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/nextcloud - name: packages/nextcloud; dart test run: dart test if: "always() && steps.packages_nextcloud_pub_upgrade.conclusion == 'success'" working-directory: packages/nextcloud 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 - job_015 - job_016 - job_017 job_019: name: "unit_test; PKG: packages/sort_box; `dart test`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box;commands:test" restore-keys: | os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: stable - id: checkout name: Checkout repository uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b - id: packages_sort_box_pub_upgrade name: packages/sort_box; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" working-directory: packages/sort_box - name: packages/sort_box; dart test run: dart test if: "always() && steps.packages_sort_box_pub_upgrade.conclusion == 'success'" working-directory: packages/sort_box 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 - job_015 - job_016 - job_017