diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index c610852..6dce1c7 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -15,19 +15,16 @@ 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 lib bin # 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