fix: linting and analyzer issues #149
Workflow file for this run
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
# Runs all the unit tests and the analyzer for any PR opened to merge into master branch. | |
# | |
# This helps ensure we avoid breaking existing functionality and stick to the rules | |
# defined in the analysis_options.yaml file | |
name: run tests & analyzer for new pr | |
on: | |
pull_request: | |
branches: [ master ] | |
# allows for this workflow to be run manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dart-lang/[email protected] | |
- name: get dependencies | |
run: dart pub get | |
- name: run tests | |
run: dart test test/all_tests.dart | |
- name: run analyzer | |
run: dart analyze |