fix: Report analytics before running command. #28
Workflow file for this run
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: CLI Tools CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
dart_format: | |
name: Dart format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dart-lang/[email protected] | |
- name: Verify formatting | |
run: dart format --output=none --set-exit-if-changed . | |
dart_analyze: | |
name: Dart Analyze | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dart-lang/[email protected] | |
- run: dart pub get | |
- run: dart analyze --fatal-infos | |
dart_test: | |
name: Dart Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dart-lang/[email protected] | |
- run: dart test |