name: Flutter CI on: push: paths: - "app/**" pull_request: paths: - "app/**" jobs: analyze-and-test: runs-on: ubuntu-latest defaults: run: working-directory: app steps: - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 with: flutter-version: "3.22.x" channel: stable cache: true - name: Install dependencies run: flutter pub get - name: Analyze run: flutter analyze --no-fatal-infos - name: Run tests run: flutter test