A new Flutter project.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
This repository contains a robust Continuous Integration and Continuous Deployment (CI/CD) pipeline for Flutter applications using GitHub Actions. The pipeline automates code analysis, testing, and builds for Android platforms.
The pipeline automatically runs on:
- Every push to the
mainbranch - Every pull request to the
mainbranch - Manual trigger via GitHub Actions UI
- Runs on Ubuntu 22.04
- Checks out the repository code
- Sets up Flutter 3.27.4 (supporting Dart 3.6.1)
- Verifies Dart version
- Installs dependencies with
flutter pub get - Performs static code analysis with
flutter analyze
- Runs after successful code analysis
- Sets up Flutter 3.27.4
- Configures Java 17 using Temurin distribution
- Builds Android App Bundle (AAB) for release
- Implements security best practices by removing signing files after build
- Quality Assurance: Automatically checks code quality and prevents integration of problematic code
- Time Efficiency: Eliminates manual build processes
- Consistency: Ensures builds are performed in a consistent environment
- Early Issue Detection: Identifies problems early in the development cycle
- Streamlined Releases: Simplifies the release process for Android
- Flutter 3.27.4
- Dart 3.6.1
- Java 17 (Temurin distribution)
- GitHub repository with Actions enabled
- iOS build pipeline integration
- Automated testing with coverage reports
- Deployment to app stores
- Version management
- Slack/Teams notifications
- Code quality metrics reporting
This CI/CD pipeline demonstrates modern DevOps practices for mobile application development, ensuring reliable and efficient delivery of Flutter applications.