Bump lints from 3.0.0 to 4.0.0 (#76) #126
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: | |
push: | |
branches: [ master ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: dart:stable | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: dart pub get | |
- name: Formatter | |
run: dart format --output none --set-exit-if-changed example lib test | |
- name: Analyzer | |
run: dart analyze --fatal-infos --fatal-warnings | |
- name: Tests | |
run: dart test --coverage=.coverage | |
- name: Coverage | |
run: dart run coverage:format_coverage -l -c -i .coverage --report-on=lib --packages=.dart_tool/package_config.json | dart run check_coverage:check_coverage 96 |