From 00e59bf5c78908c1cdc66e6bfe83c529f1c7c190 Mon Sep 17 00:00:00 2001 From: Bent Hillerkus <29630575+benthillerkus@users.noreply.github.com> Date: Sat, 22 Mar 2025 03:00:03 +0100 Subject: [PATCH 1/3] ci: run on stable --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c8bfff11..f94be497 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,7 @@ jobs: - flutter_hooks channel: - master + - stable steps: - uses: actions/checkout@v2 @@ -30,11 +31,12 @@ jobs: - name: Check format run: dart format --set-exit-if-changed . - if: matrix.channel == 'master' + if: matrix.channel == 'stable' working-directory: packages/${{ matrix.package }} - name: Analyze run: dart analyze . + if: matrix.channel == 'stable' working-directory: packages/${{ matrix.package }} - name: Run tests From 2a79dd53d966ec85cd3b6bdd54b71b01786dbb78 Mon Sep 17 00:00:00 2001 From: Bent Hillerkus <29630575+benthillerkus@users.noreply.github.com> Date: Sat, 22 Mar 2025 03:11:11 +0100 Subject: [PATCH 2/3] fix: only upload code coverage results on stable branch --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f94be497..e922857d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,4 +45,5 @@ jobs: - name: Upload coverage to codecov run: curl -s https://codecov.io/bash | bash + if: matrix.channel == 'stable' working-directory: packages/${{ matrix.package }} From 7b273eefb941e637b366b4732c418dc104d659e1 Mon Sep 17 00:00:00 2001 From: Bent Hillerkus <29630575+benthillerkus@users.noreply.github.com> Date: Sat, 22 Mar 2025 03:17:43 +0100 Subject: [PATCH 3/3] ci: disable fail-fast in build workflow --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e922857d..8cfe46a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,7 @@ jobs: channel: - master - stable + fail-fast: false steps: - uses: actions/checkout@v2