Dart CI #446
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dart CI | |
on: | |
schedule: | |
# “At 00:00 (UTC) on Sunday.” | |
- cron: '0 0 * * 0' | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# https://github.com/dart-lang/setup-dart/blob/main/README.md | |
- uses: dart-lang/setup-dart@v1.3 | |
- name: Install dependencies | |
run: dart pub get | |
- name: Analyze project source | |
run: dart analyze --fatal-infos | |
- name: Run tests | |
run: dart test |