Upgrade the major version of dependencies #92
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: code analysis & formatting | |
on: [push, pull_request] | |
jobs: | |
analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: subosito/[email protected] | |
- name: Version | |
run: flutter doctor -v | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Linter | |
run: flutter analyze | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: subosito/[email protected] | |
- name: Format | |
run: flutter format -n --set-exit-if-changed . |