Skip to content

feat(camera): implement auto lens switching depending on zoom (#1825) #3

feat(camera): implement auto lens switching depending on zoom (#1825)

feat(camera): implement auto lens switching depending on zoom (#1825) #3

Workflow file for this run

name: Mobile CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Mobile CI
runs-on: ubuntu-latest
defaults:
run:
working-directory: mobile/
steps:
- uses: actions/checkout@v4
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.41.1"
channel: "stable"
cache: true
- name: 📦 Install dependencies
run: flutter pub get
- name: 🔨 Verify generated files are up-to-date
run: |
dart run build_runner build --delete-conflicting-outputs
if [ -n "$(git status --porcelain)" ]; then
echo "⚠️ Generated files are out of date. Please run 'dart run build_runner build' and commit the changes."
git diff --name-only
exit 1
fi
- name: ✨ Check formatting
run: dart format --output=none --set-exit-if-changed lib test
- name: 🕵️ Analyze code
run: flutter analyze lib test
- name: 🚀 Run tests
run: flutter test