This repository has been archived by the owner on Jun 29, 2024. It is now read-only.
Update README.md #124
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: Code Check | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: 'beta' | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Install dependencies | |
run: flutter pub run build_runner build | |
- name: Check formatting | |
run: flutter format --dry-run --set-exit-if-changed . | |
- name: Do static code analysis | |
run: dart analyze . |