| name: package:canary |
| |
| permissions: read-all |
| |
| on: |
| pull_request: |
| branches: [ main ] |
| paths: |
| - '.github/workflows/canary.yml' |
| - 'pkgs/canary/**' |
| push: |
| branches: [ main ] |
| paths: |
| - '.github/workflows/canary.yml' |
| - 'pkgs/canary/**' |
| schedule: |
| - cron: '0 0 * * 0' # weekly |
| |
| defaults: |
| run: |
| working-directory: pkgs/canary |
| |
| env: |
| GH_TOKEN: ${{ github.token }} |
| |
| jobs: |
| build: |
| runs-on: ubuntu-latest |
| steps: |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 |
| - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 |
| with: |
| channel: main |
| |
| - run: dart pub get |
| |
| - run: dart analyze --fatal-infos |
| |
| - run: dart format --output=none --set-exit-if-changed . |
| |
| - run: dart test |