Skip to content

Dart 2.19

Dart 2.19 #25

Workflow file for this run

name: Dart CI
on:
push:
branches:
- 'master'
- 'test_consume_*'
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
fail-fast: false
matrix:
sdk: [ 2.18.7, 2.19.6, stable ]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies
run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
if: ${{ matrix.sdk == '2.18.7' }}
- name: Analyze project source
run: dart analyze
- name: Run tests on chrome
run: dart run build_runner test --delete-conflicting-outputs -- -p chrome
- name: Run tests in release mode on chrome
run: dart run build_runner test --release --delete-conflicting-outputs -- -p chrome