From 98b2c639f4012e8693b1f86ad5fb40c7eee04dfe Mon Sep 17 00:00:00 2001 From: Ricardo Boss Date: Wed, 14 Feb 2024 19:57:29 +0100 Subject: [PATCH] Run steps even if independent, previous steps fail --- .github/workflows/dart.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 85599c1..4e1bd88 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -23,16 +23,21 @@ jobs: key: ${{ runner.os }}-pub - name: Install dependencies + id: dependencies run: dart pub get - name: Verify formatting run: dart format --output=none --set-exit-if-changed . - name: Analyze project source + if: steps.dependencies.outcome == 'success' run: dart analyze --fatal-infos - name: Run build_runner + if: steps.dependencies.outcome == 'success' + id: build_runner run: dart run build_runner build --delete-conflicting-outputs - name: Run tests + if: steps.build_runner.outcome == 'success' run: dart test