Skip to content

using List instead of Iterable #17

using List instead of Iterable

using List instead of Iterable #17

Workflow file for this run

name: Dart
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: dart:latest
steps:
- uses: actions/checkout@v2
- name: Print Dart SDK version
run: dart --version
- name: Install dependencies
run: dart pub get
- name: Activate coverage
run: dart pub global activate coverage
- name: Analyze project source
run: dart analyze --fatal-infos --fatal-warnings
- name: Run tests
run: dart test --platform=vm --coverage=coverage
- name: Format coverage
run: dart pub global run coverage:format_coverage --packages=.dart_tool/package_config.json --in=coverage/test/ --out=coverage/lcov.info --report-on=lib/ --lcov --check-ignore
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2.1.2
- name: Pub publish (dry-run)
run: dart pub publish --dry-run