Merge pull request #31 from Keyri-Co/releases/1.7.2 #11
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: Flutter lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Run analyze | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out git repository | |
uses: actions/checkout@v3 | |
- name: Install flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: Get flutter dependencies | |
run: flutter pub get | |
- name: Analyze the dart code for errors | |
run: flutter analyze |