chore: Update Dependencies #257
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- 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 |