Update cocoon_code_health
to check for whitespace, remove from `ana…
#100
This file contains hidden or 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: Test dashboard | |
on: | |
pull_request: | |
branches: [main] | |
paths: | |
- "dashboard/**" | |
- "packages/cocoon_common/**" | |
- ".github/workflows/dashboard_tests.yaml" | |
push: | |
branches: [main] | |
jobs: | |
test-dashboard: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: dashboard | |
steps: | |
- name: Set up Flutter | |
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 | |
with: | |
channel: stable | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Get packages | |
run: | | |
flutter packages get | |
- name: Flutter Analyze | |
run: | | |
flutter analyze --no-fatal-infos | |
- name: Dart Format | |
run: | | |
dart format --set-exit-if-changed . | |
- name: Flutter Test | |
run: | | |
flutter test --test-randomize-ordering-seed=random --reporter expanded |