support latest release of package:graphs #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: pull_request | |
jobs: | |
packages: | |
runs-on: ubuntu-latest | |
container: | |
image: dart:latest | |
name: Check multipack | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Get dependencies | |
run: | | |
dart --version | |
dart pub get | |
- name: Check formatting | |
run: | | |
echo "" | |
echo "A list of incorrectly formatted files may follow:" | |
echo "" | |
dart format --set-exit-if-changed . | |
echo "" | |
- name: Analyze package | |
run: | | |
dart analyze --fatal-warnings . | |
- name: Run tests | |
run: | | |
exec [ ! -d ./test ] && exit 0 | |
dart run test |