add analysis workflow

This commit is contained in:
Delwin Mathew
2024-02-24 22:20:39 +05:30
parent d328a925c7
commit 2702760cd0

22
.github/workflows/analyze.yml vendored Normal file
View File

@ -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