Update Readme.md #119
Workflow file for this run
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: Analyze | |
on: push | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout | |
- uses: subosito/[email protected] | |
name: Set up Flutter SDK | |
with: | |
channel: 'stable' | |
cache: true | |
- name: Install dependencies | |
run: | | |
cd app | |
flutter clean | |
flutter pub get | |
cd ../data | |
flutter clean | |
flutter pub get | |
cd ../style | |
flutter clean | |
flutter pub get | |
cd .. | |
- name: Lint test | |
run: | | |
cd app | |
dart analyze --fatal-infos | |
cd ../data | |
dart analyze --fatal-infos | |
cd ../style | |
dart analyze --fatal-infos | |
cd .. | |