Skip to content

Migrate to Null Safety, Update Actions, Fix #176 #465

Migrate to Null Safety, Update Actions, Fix #176

Migrate to Null Safety, Update Actions, Fix #176 #465

name: dart_test_analyze_format
on: [push, pull_request]
jobs:
dart_test_analyze_format:
runs-on: ubuntu-latest
container:
image: google/dart:2.18.0-271.0.dev
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