Skip to content

Check for downgraded versions #1

Check for downgraded versions

Check for downgraded versions #1

Workflow file for this run

name: Dart CI
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: dart:stable
strategy:
matrix:
install_dependencies: [ "pub get", "pub downgrade" ]
steps:
- uses: actions/checkout@v2
- name: Update submodules
run: git config --global --add safe.directory '*' && git submodule update --init --recursive
- name: Print Dart version
run: dart --version
- name: Install dependencies
run: dart ${{ matrix.install_dependencies }}
- name: Formatter
run: dart format --output none --set-exit-if-changed example lib test
- name: Analyzer
run: dart analyze --fatal-infos --fatal-warnings
- name: Tests
run: dart test --coverage=.coverage
- name: Coverage
run: dart run coverage:format_coverage -l -c -i .coverage --report-on=lib --packages=.dart_tool/package_config.json | dart run check_coverage:check_coverage