fix(ai): apply input and output schemas when loading .prompt files #921
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Flutter CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Run Flutter Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 'stable' | |
| - name: Install Melos | |
| run: dart pub global activate melos | |
| - name: Bootstrap Workspace | |
| run: melos bootstrap | |
| - name: Run Code Generation | |
| run: melos run build-gen | |
| - name: Run genkit_firebase_ai build_runner | |
| working-directory: packages/genkit_firebase_ai | |
| run: dart run build_runner build --delete-conflicting-outputs | |
| - name: Run genkit_firebase_ai Tests | |
| working-directory: packages/genkit_firebase_ai | |
| run: flutter test | |
| - name: Run genkit_firebase_ai Analyzer | |
| working-directory: packages/genkit_firebase_ai | |
| run: flutter analyze | |
| - name: "testapps/firebase_ai: build_runner" | |
| working-directory: testapps/firebase_ai | |
| run: dart run build_runner build --delete-conflicting-outputs | |
| - name: "testapps/firebase_ai: Ensure firebase_options.dart exists" | |
| working-directory: testapps/firebase_ai | |
| run: ./tool/stub_firebase_options.sh | |
| - name: "testapps/firebase_ai: Analyzer" | |
| working-directory: testapps/firebase_ai | |
| run: flutter analyze | |
| - name: "testapps/flutter_genai: Analyzer" | |
| working-directory: testapps/flutter_genai | |
| run: flutter analyze | |
| - name: Verify clean git tree | |
| run: | | |
| git diff --exit-code | |
| if [ -n "$(git status --porcelain)" ]; then | |
| echo "Git directory is not clean. Working tree:" | |
| git status | |
| exit 1 | |
| fi |