Discover in different thread (#1555)

This commit is contained in:
Tien Do Nam
2024-07-24 03:34:53 +02:00
committed by GitHub
parent b70d3b813f
commit f5e8a5652c
135 changed files with 1706 additions and 1359 deletions

View File

@@ -19,16 +19,24 @@ jobs:
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: "stable"
- name: Dependencies
- name: Dependencies (app)
working-directory: app
run: flutter pub get
- name: Remove gen directory
- name: Remove gen directory (app)
working-directory: app
run: rm -rf lib/gen
- name: Check format
- name: Check format (app)
working-directory: app
run: dart format --line-length 150 --set-exit-if-changed lib test
- name: Dependencies (common)
working-directory: common
run: dart pub get
- name: Check format (common)
working-directory: common
run: dart format --line-length 150 --set-exit-if-changed lib test
test:
runs-on: ubuntu-latest
@@ -38,16 +46,27 @@ jobs:
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: "stable"
- name: Dependencies
- name: Dependencies (app)
working-directory: app
run: flutter pub get
- name: Analyze
- name: Analyze (app)
working-directory: app
run: flutter analyze
- name: Test
- name: Test (app)
working-directory: app
run: flutter test
- name: Dependencies (common)
working-directory: common
run: dart pub get
- name: Analyze (common)
working-directory: common
run: dart analyze
- name: Test (common)
working-directory: common
run: dart test
packaging:
runs-on: ubuntu-latest