Skip to content

Add GenAI inference task #20

Add GenAI inference task

Add GenAI inference task #20

Workflow file for this run

name: builder
# Declare default permissions as read only.
permissions: read-all
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: tool/builder
strategy:
fail-fast: false
matrix:
sdk: [stable]
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- run: dart pub get
- run: dart analyze --fatal-infos
- run: dart format --output=none --set-exit-if-changed .
if: ${{ matrix.sdk == 'stable' }}
# Ensure the tool can run without errors.
- run: dart bin/main.dart -h