Skip to content

chore: Update Dependencies #253

chore: Update Dependencies

chore: Update Dependencies #253

# This workflow builds, analyzes, and tests every pull request.
name: Pull Request Validation
on:
push:
branches:
- develop
- main
- master
pull_request:
jobs:
analyze-and-test:
runs-on: ubuntu-latest
steps:
- name: πŸ“š Git Checkout
uses: actions/checkout@v4
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: πŸ›ŽοΈ Checking Flutter Version
run: flutter --version
- name: πŸ“¦ Install Dependencies
run: flutter pub get
- name: πŸ› οΈ Build Runner (Generate Code)
run: flutter pub run build_runner build --delete-conflicting-outputs
- name: πŸ•΅οΈ Analyze Code
run: flutter analyze lib test
- name: πŸ—οΈ Build APK (Production Flavor)
run: flutter build apk --release --flavor production -t lib/main_production.dart
- name: πŸ§ͺ Run Tests
run: flutter test