feat: init implementation of flutter sdk #6
Workflow file for this run
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 SDK Lint | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
code-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- run: flutter --version | |
- name: Run install packages | |
run: flutter pub get | |
- name: Run code format | |
run: dart format . --set-exit-if-changed | |
- name: Run code lint | |
run: flutter analyze --fatal-warnings |