Merge pull request #161 from guyluz11/dev #229
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: Dart CI | |
on: | |
push: | |
branches: [ master, dev ] | |
pull_request: | |
branches: [ master, dev ] | |
workflow_dispatch: | |
env: | |
flutter_channel: 'stable' # or: 'dev' or 'beta' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: ${{ env.flutter_channel }} | |
flutter-version: ${{ env.flutter_version }} | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run tests | |
run: flutter test |