chore: added workflow badge to readme #2
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: 🛠️ Lint and Test | |
on: [push, workflow_dispatch] | |
jobs: | |
drive: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
flutter-version: 3.22.0 | |
- run: flutter --version | |
- name: Dart Apply Fixes (if this fails, run `dart fix --apply` locally) | |
run: dart fix --apply; git diff --exit-code | |
- name: Dart Formatter (if this fails, run `dart format .` locally) | |
run: dart format .; git diff --exit-code | |
- name: Restore packages | |
run: flutter pub get | |
- name: Analyze | |
run: flutter analyze | |
- name: Run Tests without coverage | |
run: flutter test |