Upgraded dependencies. #12
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
# thanks https://github.com/marketplace/actions/flutter-action | |
name: Flutter CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Format code | |
run: dart format --output=none --set-exit-if-changed . | |
- name: Analyze code | |
run: flutter analyze --fatal-infos --fatal-warnings | |
- name: Run tests | |
run: flutter test |