Skip to content

Update dart.yml

Update dart.yml #6

Workflow file for this run

name: Flutter
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- uses: subosito/flutter-action@v2
with:
flutter-version: 'latest'
- name: Install dependencies
run: flutter pub get
- name: Verify formatting
run: flutter format --set-exit-if-changed
- name: Analyze project source
run: flutter analyze --fatal-infos
- name: Run tests
run: flutter test