Skip to content

Commit

Permalink
Run steps even if independent, previous steps fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoboss committed Feb 14, 2024
1 parent 5d52216 commit 98b2c63
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 98b2c63

Please sign in to comment.