Skip to content

chore(ci): Remove flutter-version specification from CI configuration #3

chore(ci): Remove flutter-version specification from CI configuration

chore(ci): Remove flutter-version specification from CI configuration #3

Workflow file for this run

# Verifies `dart run tool/strip_sample_features.dart --apply` leaves an analyzable tree.
name: Strip smoke
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: {}
concurrency:
group: strip-smoke-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
stripped-tree:
name: Strip + analyze + test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 'stable'
channel: 'stable'
cache: true
- name: Install dependencies (full starter)
run: flutter pub get
- name: Apply strip
run: dart run tool/strip_sample_features.dart --apply
- name: Install dependencies (after strip)
run: flutter pub get
- name: Analyze stripped tree
run: flutter analyze
- name: Run tests (stripped tree)
timeout-minutes: 15
run: flutter test --timeout=5m