release: upgrade to flutter 3.22.0 #358
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: Analysis | |
on: | |
push: | |
pull_request: | |
jobs: | |
analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fetch Flutter SDK | |
run: | | |
git clone --depth=1 https://github.com/flutter/flutter.git | |
cd flutter | |
git fetch --depth=1 https://github.com/flutter/flutter.git `cat ../bin/internal/flutter.version` | |
git checkout FETCH_HEAD | |
flutter/bin/flutter doctor | |
- name: Install pub dependencies | |
run: flutter/bin/flutter pub get | |
- name: Verify formatting | |
run: flutter/bin/dart format --output=none --set-exit-if-changed lib packages | |
- name: Analyze project source | |
run: flutter/bin/dart analyze --fatal-warnings lib |