Skip to content

Update dart.yml

Update dart.yml #17

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@v4
# Setup Flutter SDK
- uses: subosito/flutter-action@v2
with:
flutter-version: 'stable' # ou especifique uma versão específica
# Install dependencies
- name: Install dependencies
run: flutter pub get
# Verify formatting
# - name: Verify formatting
# run: flutter format --set-exit-if-changed .
# Analyze project source
- name: Analyze project source
run: flutter analyze
# Run tests
- name: Run tests
run: flutter test