Skip to content

Commit

Permalink
Run flutter analyze in lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Serious-senpai committed Oct 2, 2024
1 parent bda2039 commit f6deb74
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion app/resident_manager/lib/src/widgets/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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});
Expand Down

0 comments on commit f6deb74

Please sign in to comment.