build: upgraded dependencies #16
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 and Analyze | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
- name: Setup java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: "12.x" | |
- name: Install and set Flutter version #https://github.com/subosito/flutter-action | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.0.1" | |
channel: "stable" | |
- name: Pub get | |
run: flutter pub get | |
- name: Flutter doctor | |
run: flutter doctor | |
- name: Testing main project | |
run: flutter test test | |
- name: Analyzing main project | |
run: flutter analyze lib | |