-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement workflow to test build apk
- Loading branch information
1 parent
3d47432
commit ff21e84
Showing
4 changed files
with
868 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
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 .. | ||
Oops, something went wrong.