name: build

on:
  push:
    branches:
    - master

jobs:
  test:
    name: Test on Ubuntu
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: subosito/flutter-action@v1.3.2
        with:
          flutter-version: '1.17.1'
          channel: 'stable'
      - run: flutter pub get
      - run: flutter test
