Skip to content

Ramin/merge fe changes into dev #6

Ramin/merge fe changes into dev

Ramin/merge fe changes into dev #6

Workflow file for this run

name: Flutter Analyze, Test & Build
on:
push:
branches:
- master
- dev
pull_request:
branches:
- "*"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.10.2"
channel: stable
cache: true
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}
- name: 🤫 Set SSH Key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{secrets.SSH_PRIVATE_KEY}}
- name: 📦 Install Dependencies
run: flutter pub get
- name: ✨ Check Formatting
run: dart format --set-exit-if-changed .
- name: 🕵️ Analyze
run: flutter analyze --no-fatal-infos
- name: 🧪 Run Tests
run: flutter test
- name: Build Example app
working-directory: ./example
run: flutter build apk --target-platform android-arm,android-arm64,android-x64