Skip to content

package:samples

package:samples #27

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@f43a0e5ff2bd294095638e18286ca9a3d1956744
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
- 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: flutter test