Merge branch 'develop' of https://github.com/joanpablo/reactive_forms… #365
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: reactive_forms | |
on: | |
# Trigger the workflow on push | |
# but only for the master branch | |
push: | |
branches: | |
- master | |
- develop | |
- "feature/**" | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
test: | |
# Job name is Running Tests | |
name: Tests | |
# This job runs on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.16.0" | |
channel: "stable" | |
- run: flutter pub get | |
- run: flutter test --no-pub --coverage | |
- run: bash <(curl -s https://codecov.io/bash) -t d5f3f780-d3d4-4c7c-997b-31f1f7620eba | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.16.0" | |
channel: "stable" | |
- run: flutter pub get | |
- name: Analyze lib | |
run: flutter analyze lib | |
- name: Analyze test | |
run: flutter analyze test | |
format: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.16.0" | |
channel: "stable" | |
- run: flutter pub get | |
- name: Format lib | |
run: dart format lib --set-exit-if-changed | |
- name: Format test | |
run: dart format test --set-exit-if-changed |