From 8940f879355911d017b4d0dd7dc944f6f1a6a6c4 Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Mon, 29 Nov 2021 21:49:22 +0800 Subject: [PATCH] Create dart_general.yml --- .github/workflows/dart_general.yml | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/dart_general.yml diff --git a/.github/workflows/dart_general.yml b/.github/workflows/dart_general.yml new file mode 100644 index 0000000000..2dde2fda92 --- /dev/null +++ b/.github/workflows/dart_general.yml @@ -0,0 +1,33 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Dart + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +env: + CARGO_TERM_COLOR: always + +jobs: + flutter-analyze: + name: flutter analyze + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - uses: subosito/flutter-action@v1 + with: + channel: "dev" + - name: flutter pub get + working-directory: frontend/app_flowy + run: flutter pub get + - name: flutter analyze + working-directory: frontend/app_flowy + run: flutter analyze +