Skip to content

feat(sdk): update dependency flutter to >=3.22.0 #404

feat(sdk): update dependency flutter to >=3.22.0

feat(sdk): update dependency flutter to >=3.22.0 #404

Workflow file for this run

name: Example app
on:
push:
branches:
- main
pull_request:
defaults:
run:
working-directory: example
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Get project Flutter version 🏷️
id: fvm-config
uses: kuhnroyal/flutter-fvm-config-action@v1.2.0
- name: Setup Flutter 💻
id: setup-flutter
uses: subosito/flutter-action@v2.16.0
with:
flutter-version: ${{ steps.fvm-config.outputs.FLUTTER_VERSION }}
cache: true
cache-key: ${{ runner.os }}-flutter-${{ steps.fvm-config.outputs.FLUTTER_VERSION }}-${{ hashFiles('**/pubspec.lock') }}
- name: Cache Pub 💾
uses: actions/cache@v4
with:
path: |
${{ steps.setup-flutter.outputs.CACHE-PATH }}
**/.dart_tool
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
${{ runner.os }}-pub-
- name: Run linting 🧪
run: |
flutter pub get
dart format --output=none --set-exit-if-changed .
flutter analyze