Analyzer #2075
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: Analyzer | |
on: | |
push: | |
# staging and trying branches are for Bors config | |
branches: [ main, staging, trying ] | |
pull_request: | |
# staging and trying branches are for Bors config | |
branches: [ main, staging, trying ] | |
schedule: | |
- cron: '0 3 * * *' | |
jobs: | |
analyze: | |
name: analyzer | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1 | |
- name: install dependencies | |
run: dart pub get | |
- name: analyzer | |
run: dart analyze --fatal-infos --fatal-warnings . |