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