Skip to content

[pull] master from RafaelBarbosatec:master #12

[pull] master from RafaelBarbosatec:master

[pull] master from RafaelBarbosatec:master #12

Workflow file for this run

name: Code Quality
on:
push:
branches:
- main
pull_request:
types: [opened,ready_for_review,synchronize]
jobs:
format-and-fix:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Intall dart
uses: dart-lang/setup-dart@v1
- name: Setup flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: Get packages
run: flutter pub get
- name: Check format errors
run: dart format --output=none --set-exit-if-changed .
# - name: Check lint errors
# run: flutter analyze .