From f6deb74cbf2553aea073b200facfe7a73940377d Mon Sep 17 00:00:00 2001 From: Serious-senpai <57554044+Serious-senpai@users.noreply.github.com> Date: Wed, 2 Oct 2024 15:27:19 +0700 Subject: [PATCH] Run flutter analyze in lint --- .github/workflows/lint.yml | 22 +++++++++++++++++++ .../lib/src/widgets/home.dart | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4a15589..56aa2b2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -62,3 +62,25 @@ jobs: - name: Run flake8 run: flake8 . + + flutter: + name: Run flutter analyze + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: 3.24.3 + channel: stable + + - name: View Flutter status + run: | + flutter --version + flutter doctor -v + + - name: Run flutter analyze + run: flutter analyze diff --git a/app/resident_manager/lib/src/widgets/home.dart b/app/resident_manager/lib/src/widgets/home.dart index 886531c..8a0da21 100644 --- a/app/resident_manager/lib/src/widgets/home.dart +++ b/app/resident_manager/lib/src/widgets/home.dart @@ -3,7 +3,7 @@ import "package:flutter_localization/flutter_localization.dart"; import "common.dart"; import "state.dart"; -import "../core/translations.dart"; +import '../core/translations.dart'; class HomePage extends StateAwareWidget { const HomePage({super.key, required super.state});