Merge pull request #711 from CyBear-Jinni/dev #1164
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' | |
flutter_version: '3.13.6' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: ${{ env.flutter_channel }} | |
flutter-version: ${{ env.flutter_version }} | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '12.x' | |
distribution: 'zulu' | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run tests | |
run: dart test |