Skip to content

refactor CI testing of dart-services (#2719) #188

refactor CI testing of dart-services (#2719)

refactor CI testing of dart-services (#2719) #188

Workflow file for this run

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