From 3b6a5c8930b765b772b7fd2f04fa7523532f3253 Mon Sep 17 00:00:00 2001 From: "very-good-code-bot[bot]" <269805761+very-good-code-bot[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 09:30:52 +0000 Subject: [PATCH] ci: migrate to Very Good Workflows Closes #1623 Co-authored-by: marcossevilla --- .github/workflows/very_good_cli.yaml | 39 +++++++--------------------- 1 file changed, 9 insertions(+), 30 deletions(-) diff --git a/.github/workflows/very_good_cli.yaml b/.github/workflows/very_good_cli.yaml index fd27ad86c..493837649 100644 --- a/.github/workflows/very_good_cli.yaml +++ b/.github/workflows/very_good_cli.yaml @@ -27,36 +27,15 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - runs-on: ${{ matrix.os }} - - steps: - - uses: actions/checkout@v7 - - - uses: subosito/flutter-action@v2.8.0 - with: - flutter-version: "3.44.x" - - - name: Install Dependencies - run: flutter pub get - - - name: Format - run: dart format --set-exit-if-changed lib test - - - name: Analyze - run: flutter analyze lib test - - - name: Verify Build - run: flutter pub run test --run-skipped -t pull-request-only - - - name: Run Tests - run: | - flutter pub global activate coverage 1.15.0 - flutter pub run test -j 1 -x pull-request-only -x e2e --coverage=coverage --test-randomize-ordering-seed random && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib - - - name: Check Code Coverage - uses: VeryGoodOpenSource/very_good_coverage@v3.0.0 - with: - exclude: "**/*.gen.dart" + uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1 + with: + flutter_version: "3.44.x" + concurrency: 1 + coverage_excludes: "**/*.gen.dart" + run_bloc_lint: false + run_skipped: true + runs_on: ${{ matrix.os }} + test_optimization: false pana: uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1