chore(repo): update minimum supported SDK version to Flutter 3.7/Dart 2.19 #194
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: stream_flutter_video_sample_workflow | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' | |
FLUTTER_VERSION: 3.10.0 | |
on: | |
pull_request: | |
paths: | |
- 'packages/**' | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
timeout-minutes: 15 | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Git Checkout" | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: "Install Flutter" | |
uses: subosito/flutter-action@v2 | |
with: | |
cache: true | |
flutter-version: ${{ env.flutter_version }} | |
- name: "Install Tools" | |
run: | | |
flutter pub global activate melos | |
- name: "Bootstrap Workspace" | |
run: melos bootstrap --verbose | |
- name: "Prepare environment" | |
run: | | |
echo "${{ env.ENV_PROPERTIES }}" > .env | |
- name: "Build Example" | |
run: | | |
melos run build:example:android | |
analyze: | |
timeout-minutes: 15 | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Git Checkout" | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: "Install Flutter" | |
uses: subosito/flutter-action@v2 | |
with: | |
cache: true | |
flutter-version: ${{ env.flutter_version }} | |
- name: "Install Tools" | |
run: | | |
flutter pub global activate melos | |
- name: "Bootstrap Workspace" | |
run: melos bootstrap --verbose | |
- name: "Run Analyzer" | |
run: | | |
melos run analyze:warnings | |