name: Flutter CI on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Flutter uses: subosito/flutter-action@v1 with: flutter-version: '3.x' - name: Install dependencies run: flutter pub get - name: Run tests run: flutter test - name: Build the app for release run: flutter build apk --release