Skip to content

remove an experimental 'gemini' call from the backend (#3091) #166

remove an experimental 'gemini' call from the backend (#3091)

remove an experimental 'gemini' call from the backend (#3091) #166

name: package:dartpad_shared
permissions: read-all
on:
push:
branches: [ main ]
paths:
- '.github/workflows/dartpad_shared.yml'
- 'pkgs/dartpad_shared/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/dartpad_shared.yml'
- 'pkgs/dartpad_shared/**'
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pkgs/dartpad_shared/
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
- name: Install dart dependencies
run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Regenerate model classes
run: dart run build_runner build --delete-conflicting-outputs
- name: Analyze project source
run: dart analyze --fatal-infos