release of v1.2.2 #407
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@v4 | |
- uses: actions/setup-java@v3 | |
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@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: subosito/[email protected] | |
- name: Format | |
run: dart format --set-exit-if-changed . |