Skip to content

Update dart.yml

Update dart.yml #4

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: ecommerce_flutter_dart
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test-main-code:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.16.0'
- run: flutter pub get
- run: flutter test
- run: flutter analyze --no-pub --no-current-package lib