Skip to content

Merge branch 'main' into feature/ui-breadcrumbs #54

Merge branch 'main' into feature/ui-breadcrumbs

Merge branch 'main' into feature/ui-breadcrumbs #54

name: Forui Hooks Build
on:
workflow_dispatch: {}
push:
paths:
- .github/workflows/forui_hooks_build.yaml
- forui_hooks/**
pull_request:
paths:
- forui_hooks/**
jobs:
test:
name: Build & test
runs-on: ubuntu-latest
defaults:
run:
working-directory: forui_hooks
strategy:
matrix:
flutter-version: [ 3.x ]
steps:
- uses: actions/checkout@v4
- uses: subosito/[email protected]
with:
flutter-version: ${{ matrix.flutter-version }}
cache: true
- run: flutter pub get
- run: |
output=$(dart doc --validate-links .)
if echo "$output" | grep -q "Found 0 warnings and 0 errors"; then
exit 1
fi
- run: flutter analyze
- run: flutter test