Skip to content

Commit

Permalink
Implement workflow to test build apk
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-pratik-k committed Jan 17, 2024
1 parent 3d47432 commit ff21e84
Show file tree
Hide file tree
Showing 4 changed files with 868 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/build.yml
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 ..
Loading

0 comments on commit ff21e84

Please sign in to comment.