diff --git a/.github/workflows/cronet.yml b/.github/workflows/cronet.yml index 9b2a4cfcf6..21c0969914 100644 --- a/.github/workflows/cronet.yml +++ b/.github/workflows/cronet.yml @@ -21,6 +21,11 @@ env: PUB_ENVIRONMENT: bot.github jobs: + health: + uses: dart-lang/ecosystem/.github/workflows/health.yaml@main + with: + use-flutter: true + sdk: stable verify: name: Format & Analyze & Test runs-on: ubuntu-latest @@ -29,9 +34,6 @@ jobs: fail-fast: false matrix: cronetHttpNoPlay: ['false', 'true'] - defaults: - run: - working-directory: pkgs/cronet_http steps: - name: Delete unnecessary tools 🔧 uses: jlumbroso/free-disk-space@v1.3.1 @@ -66,3 +68,7 @@ jobs: arch: x86_64 target: ${{ matrix.cronetHttpNoPlay == 'true' && 'default' || 'google_apis' }} script: cd pkgs/cronet_http/example && flutter test --dart-define=cronetHttpNoPlay=${{ matrix.cronetHttpNoPlay }} --timeout=1200s integration_test/ + +defaults: + run: + working-directory: pkgs/cronet_http \ No newline at end of file diff --git a/.github/workflows/dart_health.yaml b/.github/workflows/dart_health.yaml index abcc92146f..a462e05617 100644 --- a/.github/workflows/dart_health.yaml +++ b/.github/workflows/dart_health.yaml @@ -30,7 +30,5 @@ jobs: with: sdk: stable ignore_packages: 'pkgs/cronet_http,pkgs/cupertino_http,pkgs/flutter_http_example,pkgs/java_http,pkgs/ok_http' - fail_on: "changelog,license,coverage,breaking,do-not-submit,leaking" - warn_on: "" permissions: pull-requests: write diff --git a/.github/workflows/okhttp.yaml b/.github/workflows/okhttp.yaml index 367bcf2732..c6f7e4188f 100644 --- a/.github/workflows/okhttp.yaml +++ b/.github/workflows/okhttp.yaml @@ -21,12 +21,14 @@ env: PUB_ENVIRONMENT: bot.github jobs: + health: + uses: dart-lang/ecosystem/.github/workflows/health.yaml@main + with: + use-flutter: true + sdk: stable verify: name: Format & Analyze & Test runs-on: ubuntu-latest - defaults: - run: - working-directory: pkgs/ok_http steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 @@ -56,3 +58,7 @@ jobs: api-level: 21 arch: x86_64 script: cd pkgs/ok_http/example && flutter test --timeout=1200s integration_test/ + +defaults: + run: + working-directory: pkgs/ok_http \ No newline at end of file