Skip to content

Bump dart-lang/setup-dart from 1.6.0 to 1.6.1 #5

Bump dart-lang/setup-dart from 1.6.0 to 1.6.1

Bump dart-lang/setup-dart from 1.6.0 to 1.6.1 #5

name: package:google_generative_ai
permissions: read-all
on:
pull_request:
branches: [ main ]
paths:
- '.github/workflows/google_generative_ai.yml'
- 'pkgs/google_generative_ai/**'
push:
branches: [ main ]
paths:
- '.github/workflows/google_generative_ai.yml'
- 'pkgs/google_generative_ai/**'
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pkgs/google_generative_ai
strategy:
fail-fast: false
matrix:
sdk: ['3.2', stable, dev]
include:
- sdk: stable
run-tests: true
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: dart-lang/setup-dart@ca7e6fee45ffbd82b555a7ebfc236d2c86439f5b
with:
sdk: ${{ matrix.sdk }}
- run: dart pub get
- run: dart analyze --fatal-infos
- run: dart format --output=none --set-exit-if-changed .
if: ${{matrix.run-tests}}
# - run: dart test
# if: ${{matrix.run-tests}}