Skip to content

Commit

Permalink
pipelines: Run flutter analyze before releasing build
Browse files Browse the repository at this point in the history
  • Loading branch information
cadivus committed Oct 20, 2024
1 parent 7424d6c commit 1c3c6d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on merge
name: Analyze and deploy to Firebase Hosting on merge
on:
push:
branches:
Expand All @@ -14,6 +14,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: stable
- run: (cd open_earable && flutter analyze)
- run: (cd open_earable && flutter build web --dart-define=BUILD_COMMIT=$(git
rev-parse --short HEAD) --dart-define=BUILD_BRANCH=$(git rev-parse
--abbrev-ref HEAD))
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release_apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
- working-directory: ./open_earable
run: flutter pub get
- working-directory: ./open_earable
run: flutter analyze
- working-directory: ./open_earable
run: flutter build apk
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 1c3c6d6

Please sign in to comment.