Skip to content

github_actions: upgrade Flutter version #118

github_actions: upgrade Flutter version

github_actions: upgrade Flutter version #118

name: Analyze code and run tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Analyze, format and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.2'
channel: 'stable'
- run: flutter pub get
- run: flutter analyze
- run: dart format --set-exit-if-changed -l 120 .
- run: flutter test