From 2702760cd0863e625b1c39a3b3bfb244ed558aec Mon Sep 17 00:00:00 2001 From: Delwin Mathew <84124091+opxdelwin@users.noreply.github.com> Date: Sat, 24 Feb 2024 22:20:39 +0530 Subject: [PATCH] add analysis workflow --- .github/workflows/analyze.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/analyze.yml diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml new file mode 100644 index 000000000..0d5b1fb6e --- /dev/null +++ b/.github/workflows/analyze.yml @@ -0,0 +1,22 @@ +name: "Code Analysis" +on: [ push ] + + +jobs: + Flutter-Analyze: + runs-on: ubuntu-latest + steps: + - run: pwd + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Get Flutter Env + uses: subosito/flutter-action@v2 + with: + channel: 'stable' + - run: flutter --version + + - name: Code Analysis + run: | + flutter pub get + flutter analyze