remove an experimental 'gemini' call from the backend (#3091) #775
This file contains 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: package:dart_services | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/dart_services.yml' | |
- 'pkgs/dart_services/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/dart_services.yml' | |
- 'pkgs/dart_services/**' | |
schedule: | |
- cron: '0 0 * * *' # daily | |
jobs: | |
# Check code formatting, static analysis, and build on a single OS (linux). | |
verify: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: pkgs/dart_services/ | |
strategy: | |
fail-fast: false | |
matrix: | |
sdk: [stable, beta, main] | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 | |
with: | |
channel: ${{ matrix.sdk }} | |
- run: flutter --version | |
- name: Install dart dependencies | |
run: dart pub get | |
- name: Analyze project source | |
run: dart analyze --fatal-infos | |
- name: Verify formatting | |
run: dart format --set-exit-if-changed bin lib test tool | |
- name: Create template projects and populate the custom pub cache | |
run: dart run grinder build-project-templates | |
# Build the web artifacts on the bots to ensure they don't regress. | |
- name: Build web artifacts | |
run: dart run grinder build-storage-artifacts | |
- name: Run tests | |
run: dart test |