release: upgrade to flutter 3.22.1 (#259) #366
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 https://github.com/flutter/flutter.git | |
cd flutter | |
git fetch https://github.com/flutter/flutter.git `cat ../bin/internal/flutter.version` | |
git checkout FETCH_HEAD | |
- 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 |