Bump subosito/flutter-action from 2.7.1 to 2.21.0 #318
Workflow file for this run
This file contains hidden or 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: | |
| branches: | |
| - master | |
| pull_request: | |
| types: [ opened, labeled, unlabeled, synchronize ] | |
| jobs: | |
| analysis: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - uses: actions/[email protected] | |
| with: | |
| java-version: 11 | |
| distribution: temurin | |
| - uses: subosito/[email protected] | |
| with: | |
| cache: true | |
| - 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/[email protected] | |
| - uses: actions/[email protected] | |
| with: | |
| java-version: 11 | |
| distribution: temurin | |
| - uses: subosito/[email protected] | |
| with: | |
| cache: true | |
| - name: Format | |
| run: flutter format -n --set-exit-if-changed . |