Skip to content

chore: changes flutter version #550

chore: changes flutter version

chore: changes flutter version #550

Workflow file for this run

name: CI
on: [push]
jobs:
deploy:
# This job will run on ubuntu virtual machine
runs-on: ubuntu-latest
steps:
# Setup Java environment in order to build the Android app.
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "17.x"
# Setup the flutter environment.
- uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: 3.24.x
# Get flutter dependencies.
- run: flutter pub get
# Generate Freezed models
- run: dart run build_runner build -d
# Check for any formatting issues in the code.
- run: dart format --set-exit-if-changed .
# Statically analyze the Dart code for any errors.
- run: flutter analyze .
# Build apk.
- run: flutter build apk