Fix setState() called during build error #15
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: CI | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Setup the flutter environment. | |
- uses: subosito/flutter-action@v1.5.3 | |
- name: Install Dependencies | |
run: flutter packages get | |
- name: Format | |
run: flutter format --set-exit-if-changed lib | |
- name: Analyze | |
run: flutter analyze --no-pub |