From 968e6f76dfd4f545a5552c00afe7beff40ae4a76 Mon Sep 17 00:00:00 2001 From: OutdatedGuy Date: Fri, 11 Apr 2025 17:54:41 +0530 Subject: [PATCH 1/3] feat: remove flutter SDK dependency --- .github/workflows/code_quality.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index c610852..662316d 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -15,18 +15,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: subosito/flutter-action@v2 - with: - channel: "stable" - - run: flutter --version + - uses: dart-lang/setup-dart@v1 - # Get flutter dependencies. + # Get dart dependencies. - name: Install dependencies - run: flutter pub get + run: dart pub get --no-example # Statically analyze the Dart code for any errors. - name: Analyze project source - run: flutter analyze . + run: dart analyze . # Check for any formatting issues in the code. - name: Verify formatting From a546998af60ee41cc223876f581216d8486f9cc7 Mon Sep 17 00:00:00 2001 From: OutdatedGuy Date: Fri, 11 Apr 2025 17:58:10 +0530 Subject: [PATCH 2/3] fix: dart analyze also working on example app --- .github/workflows/code_quality.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 662316d..8c87887 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -23,7 +23,7 @@ jobs: # Statically analyze the Dart code for any errors. - name: Analyze project source - run: dart analyze . + run: dart analyze lib bin # Check for any formatting issues in the code. - name: Verify formatting From 96d8b8c11e5a6956fb0a35bd7f3ab02325917e1b Mon Sep 17 00:00:00 2001 From: OutdatedGuy Date: Fri, 11 Apr 2025 18:00:34 +0530 Subject: [PATCH 3/3] fix: dart format also working on example app --- .github/workflows/code_quality.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 8c87887..6dce1c7 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -27,4 +27,4 @@ jobs: # Check for any formatting issues in the code. - name: Verify formatting - run: dart format --set-exit-if-changed . + run: dart format --set-exit-if-changed lib bin