Migrate to Null Safety, Update Actions, Fix #176 #464
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
name: dart_test_analyze_format | |
on: [push, pull_request] | |
jobs: | |
dart_test_analyze_format: | |
runs-on: ubuntu-latest | |
container: | |
image: google/dart:2.17 # Specify Dart SDK version | |
steps: | |
- uses: actions/checkout@v2 | |
- run: (echo 'deb http://deb.debian.org/debian buster main contrib non-free') > /etc/apt/sources.list.d/buster.list | |
- run: apt-get update && apt-get install --no-install-recommends -y -q lcov | |
- run: dart pub get | |
- run: dart format --set-exit-if-changed . | |
- run: dart test --coverage . | |
- run: dart pub run coverage:format_coverage -i . -l > coverage.lcov | |
- run: lcov -l coverage.lcov | |
- run: dart analyze |