Upgrade Dependencies to Run on Flutter >= 3.10 #142
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: test | |
on: | |
pull_request: | |
branches: | |
- main | |
- development | |
push: | |
branches: | |
- main | |
- development | |
jobs: | |
flutter_test: | |
name: Run flutter test and analyze | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: "12.x" | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: "stable" | |
flutter-version: '3.10.5' | |
- run: | | |
flutter doctor | |
flutter pub get | |
echo "${{ secrets.ENV }}" | base64 --decode > ${{ github.workspace }}/.env | |
flutter pub run build_runner build --delete-conflicting-outputs | |
flutter test --coverage | |
flutter analyze | |
bash <(curl -s https://codecov.io/bash -t ${{ secrets.CODECOV_TOKEN }}) |