diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79ab70b..732be77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,8 +21,15 @@ jobs: - name: Setup Rust uses: dtolnay/rust-toolchain@stable + - name: Setup Flutter + uses: subosito/flutter-action@v2 + with: + channel: stable + - name: Setup Dart uses: dart-lang/setup-dart@v1 + with: + sdk: "3.9.2" - name: Install lipo (macOS) if: matrix.os == 'macos-latest' @@ -40,11 +47,19 @@ jobs: - name: Pub get run: dart pub get + - name: Pub get (bdk_demo) + working-directory: bdk_demo + run: flutter pub get + - name: Format check - run: dart format --output=none --set-exit-if-changed . + run: dart format --output=none --set-exit-if-changed lib test examples bdk_demo/lib bdk_demo/test - name: Analyze - run: dart analyze --fatal-infos --fatal-warnings + run: dart analyze --fatal-infos --fatal-warnings lib test examples + + - name: Analyze (bdk_demo) + working-directory: bdk_demo + run: flutter analyze - name: Run tests run: | diff --git a/bdk-ffi b/bdk-ffi index 2b5a6d7..c9f11de 160000 --- a/bdk-ffi +++ b/bdk-ffi @@ -1 +1 @@ -Subproject commit 2b5a6d791de418b3827c6cab09314e7a34b8a99c +Subproject commit c9f11de2b289d4bee9d5f880b18e0527b100b5ee diff --git a/bdk_demo/lib/main.dart b/bdk_demo/lib/main.dart index b93e32c..54cf84c 100644 --- a/bdk_demo/lib/main.dart +++ b/bdk_demo/lib/main.dart @@ -58,10 +58,7 @@ class _MyHomePageState extends State { color: _success ? Colors.green : Colors.grey, ), const SizedBox(height: 20), - const Text( - 'BDK Network Type:', - style: TextStyle(fontSize: 20), - ), + const Text('BDK Network Type:', style: TextStyle(fontSize: 20)), Text( _networkName, style: Theme.of(context).textTheme.headlineMedium?.copyWith( @@ -105,4 +102,4 @@ class _MyHomePageState extends State { ), ); } -} \ No newline at end of file +}