Skip to content

package:samples

package:samples #368

Workflow file for this run

name: package:samples
permissions: read-all
on:
push:
branches: [ main ]
paths:
- '.github/workflows/samples.yml'
- 'pkgs/samples/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/samples.yml'
- 'pkgs/samples/**'
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
validate:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pkgs/samples/
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
- uses: subosito/flutter-action@fd55f4c5af5b953cc57a2be44cb082c8f6635e8e
- run: flutter pub get
- run: flutter analyze
- run: dart format --set-exit-if-changed .
- run: dart tool/samples.dart --verify
- run: flutter build web
- run: tool/check_cycles.sh