Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into Changing_grpc
Browse files Browse the repository at this point in the history
  • Loading branch information
guyluz11 committed Feb 5, 2024
2 parents 66d219f + 3c933f7 commit 506a0c4
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 4 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/flutter_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Flutter CI

on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev

jobs:
build:
name: Build and Test
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Flutter
uses: subosito/flutter-action@@v2
with:
flutter-version: 3.13.6

- name: Install dependencies
run: flutter pub get

- name: Run tests
run: flutter test

- name: Build APK
run: flutter build apk

- name: Archive and upload artifacts
uses: actions/upload-artifact@v2
with:
name: build
path: build/app/outputs/flutter-apk/app-release.apk
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ class _ScanForNewCBJCompsWidgetState extends State<ScanForNewCBJCompsWidget> {
_watchAllStarted();
}

Future
_watchAllStarted() async {
Future _watchAllStarted() async {
await _cbjCompStreamSubscription?.cancel();
_cbjCompStreamSubscription = ICbjCompRepository.instance
.getConnectedComputersIP()
Expand Down Expand Up @@ -72,8 +71,7 @@ class _ScanForNewCBJCompsWidgetState extends State<ScanForNewCBJCompsWidget> {
}

@override
Future
dispose() async {
Future dispose() async {
await _cbjCompStreamSubscription?.cancel();
await ICbjCompRepository.instance.shutdownServer();
return super.dispose();
Expand Down

0 comments on commit 506a0c4

Please sign in to comment.