| name: Build |
| |
| on: |
| schedule: |
| # “At 00:00 (UTC) on Sunday.” |
| - cron: '0 0 * * 0' |
| push: |
| branches: [ master ] |
| pull_request: |
| branches: [ master ] |
| |
| jobs: |
| build: |
| runs-on: ubuntu-latest |
| |
| steps: |
| - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 |
| - uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 |
| |
| - name: Install dependencies |
| run: dart pub get |
| |
| - name: Verify formatting |
| run: dart format --output=none --set-exit-if-changed . |
| |
| - name: Analyze project source |
| run: dart analyze --fatal-infos |
| |
| - name: Run tests |
| run: dart test |