Skip to content

Merge pull request #240 from Workiva/release_w_module_3.0.4 #147

Merge pull request #240 from Workiva/release_w_module_3.0.4

Merge pull request #240 from Workiva/release_w_module_3.0.4 #147

Workflow file for this run

name: Dart CI
on:
push:
branches:
- 'master'
- 'test_consume_*'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [ 2.18.7 , 2.19.6]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/[email protected]
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Validate dependencies
run: dart run dependency_validator
if: always() && steps.install.outcome == 'success'
- name: Analyze project source
run: dart analyze
if: always() && steps.install.outcome == 'success'
- name: Run tests with ddc
run: dart run dart_dev test
if: always() && steps.install.outcome == 'success'
- name: Run tests with dart2js
run: dart run dart_dev test --release
if: always() && steps.install.outcome == 'success'
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dart-lang/[email protected]
with:
sdk: 2.19.6
- id: install
name: Install dependencies
run: dart pub get
- name: Verify formatting
run: dart run dart_dev format --check
if: always() && steps.install.outcome == 'success'