Update to support latest dependencies versions #39
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: pull_request | |
on: pull_request | |
jobs: | |
lint-formatting-unit-tests: | |
name: CI Pipeline | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: 'stable' | |
- name: Install packages | |
run: | | |
dart pub get | |
cd example | |
flutter pub get | |
cd .. | |
- name: Lint | |
run: dart analyze | |
- name: Ensure correct formatting | |
run: dart format --set-exit-if-changed . | |
- name: Unit tests | |
run: dart test |