Address pub lish hint #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Health Checks | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Dart | |
uses: dart-lang/setup-dart@v1 | |
- name: Recursive pub get | |
run: find . -name 'pubspec.yaml' -execdir dart pub get \; | |
- name: Check formatting | |
run: dart format --set-exit-if-changed . | |
- name: Run Analyzer | |
run: dart analyze . | |
- name: Run Tests | |
run: dart test |