Skip to content

feat: add web platform support for pub.dev #32

feat: add web platform support for pub.dev

feat: add web platform support for pub.dev #32

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
- name: Flutter Problem Matcher
uses: leancodepl/dart-problem-matcher@main