Updated project #4
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: Check the quality of my code | |
on: | |
push: | |
paths: | |
- '**/*.dart' | |
- '**/pubspec.yaml' | |
- '**/lib/**' | |
jobs: | |
quality_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: Check Flutter version | |
run: flutter --version | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run format | |
run: dart format -l 120 --set-exit-if-changed . | |
- name: Run analysis | |
run: flutter analyze |