Skip to content

Commit 3cf124a

Browse files
committed
Merge branch 'main' of https://github.com/flutter/ai into mit-mit-patch-1
2 parents 61e4a4a + 3520ded commit 3cf124a

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
lines changed

.github/workflows/flutter.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,27 @@ name: Flutter CI
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [main]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: [main]
8+
workflow_dispatch:
9+
schedule:
10+
- cron: "0 0 * * *" # Every day at midnight
811

912
jobs:
1013
lint-and-test:
11-
name: Static code analysis
14+
name: Test Flutter ${{ matrix.flutter_version }}
1215
runs-on: ubuntu-latest
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
flutter_version: [stable, beta]
1320
steps:
1421
- uses: actions/checkout@v4
1522
- name: Set up Flutter
16-
uses: subosito/flutter-action@v2
23+
uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff
1724
with:
18-
channel: stable
25+
channel: ${{ matrix.flutter_version }}
1926
- run: dart --version
2027
- run: flutter --version
2128
- run: flutter pub get

example/lib/firebase_options.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// File normally generated by FlutterFire CLI. This is a stand-in.
2+
// See README.md for details.
3+
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
4+
5+
class DefaultFirebaseOptions {
6+
@Deprecated('Run `flutterfire configure` to re-generate this file')
7+
static FirebaseOptions get currentPlatform {
8+
throw UnimplementedError(
9+
'Generate this file by running `flutterfire configure`. '
10+
'See README.md for details.');
11+
}
12+
}

example/lib/gemini_api_key.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// TODO: Insert Gemini API Key.
2+
String geminiApiKey = '';

0 commit comments

Comments
 (0)