Skip to content

Release/v5.0.0

Release/v5.0.0 #64

# This is a basic workflow to help you get started with Actions
name: Flutter Test, Format, Analyze
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
channel: 'stable' # or: 'beta' or 'master'
- run: flutter --version
- run: flutter pub get
# Uncomment this step to verify the use of 'flutter format' on each commit.
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
# Consider passing '--fatal-infos' for slightly stricter analysis.
- name: Analyze project source
run: flutter analyze
- name: Run flutter tests
run: flutter test