blob: 9cb2f8ca4422fdacbe8e4ff505ee659279cf84e0 [file] [log] [blame]
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
container:
image: google/dart:2.10.0-99.0.dev
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: pub get
- name: Format
run: dartfmt --dry-run --set-exit-if-changed .
- name: Analyze
run: dartanalyzer --enable-experiment=non-nullable --fatal-infos --fatal-warnings lib test
- name: Run tests
run: pub run --enable-experiment=non-nullable test
# - name: Check Code Coverage
# uses: ChicagoFlutter/lcov-cop@v1.0.0