Skip to content

Merge pull request #192 from keshav-space/191-backup-on-ios #32

Merge pull request #192 from keshav-space/191-backup-on-ios

Merge pull request #192 from keshav-space/191-backup-on-ios #32

Workflow file for this run

name: Test CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install OpenJDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17.x'
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version-file: pubspec.yaml
architecture: x64
- name: Get flutter dependencies
run: flutter pub get
- name: Check for any formatting issues in the code
run: dart format --set-exit-if-changed .
- name: Check import sorting
run: dart run import_sorter:main --exit-if-changed
- name: Analyze the code for linting errors
run: flutter analyze lib test
- name: Run widget tests
run: flutter test
- name: Build apk
run: flutter build apk --debug
- name: Build appbundle
run: flutter build appbundle --debug
- name: Build iOS app
run: flutter build ios --release --no-codesign