Skip to content

Flutter 3.22.0 Support #40

Flutter 3.22.0 Support

Flutter 3.22.0 Support #40

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Check
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
flutterVersion:
- '3.22.0'
- '3.19.0'
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutterVersion }}
channel: 'stable'
cache: true
- name: Setup Go environment
uses: actions/[email protected]
- name: Install dependencies
run: |-
go install github.com/google/addlicense@latest
flutter pub get
dart pub global activate melos
melos bootstrap
- name: Analyze project source
run: melos run lint:all
- name: Run tests
run: melos run test:all
- name: Check license headers
run: melos run check-license-header
- name: Test building Android
run: melos run build:example_android
- name: Test building web
run: melos run build:example_web