Skip to content

Version 3.1.2 (#118) #128

Version 3.1.2 (#118)

Version 3.1.2 (#118) #128

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/very_good_coverage@v2.1.0
with:
min_coverage: 35