Merge pull request #116 from prateekmedia:cleanups #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: FlutterLint | |
on: | |
push: | |
branches: | |
- main | |
env: | |
FLUTTER_VERSION: "3.19.5" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
cache: true | |
flutter-version: ${{ env.FLUTTER_VERSION }} | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run lint check | |
run: flutter analyze --no-fatal-infos |