From 79d2c917236a3ae10e4fe47f49eab0243d7aa28a Mon Sep 17 00:00:00 2001 From: nyne <67669799+wgh136@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:09:20 +0800 Subject: [PATCH] Create analyse.dart --- .github/workflows/analyse.dart | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/analyse.dart diff --git a/.github/workflows/analyse.dart b/.github/workflows/analyse.dart new file mode 100644 index 0000000..69a141e --- /dev/null +++ b/.github/workflows/analyse.dart @@ -0,0 +1,19 @@ +name: "analyze" +on: + pull_request: + push: + branches: + - master + +jobs: + analyze: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: subosito/flutter-action@v2 + with: + channel: "stable" + flutter-version-file: pubspec.yaml + architecture: x64 + - run: flutter pub get + - uses: invertase/github-action-dart-analyzer@v1