Added Future.delayed for recieve swap to reflect in home #69
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: Analyze | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
analyze: | |
name: Run Flutter Analyze | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.13.6' | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run Flutter Analyze | |
run: | | |
if flutter analyze --no-fatal-warnings | grep "warning"; then | |
exit 1 | |
fi |