Update example for flutter 3.16 (#121) #132
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: Code Quality | |
on: [push] | |
jobs: | |
format-and-fix: | |
if: ${{ !github.event.pull_request.draft }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
- name: Get packages | |
run: flutter pub get | |
- name: Check format errors | |
run: flutter format --set-exit-if-changed . | |
- name: Check lint errors | |
run: flutter analyze . | |
- name: Run tests | |
run: flutter test --coverage --test-randomize-ordering-seed random | |
- name: Very Good Coverage | |
uses: VeryGoodOpenSource/[email protected] | |
with: | |
min_coverage: 35 |