Update README.md #6
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, pull_request] | |
jobs: | |
format-and-fix: | |
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: dart format --set-exit-if-changed . | |
- name: Check lint errors | |
run: flutter analyze . |