Upgrade flutter to 3.27 in leancode debug page package #59
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: leancode_debug_page test | |
on: | |
push: | |
branches: [master] | |
tags-ignore: ['leancode_debug_page-v*'] | |
paths: | |
- 'packages/leancode_debug_page/**' | |
pull_request: | |
branches: [master] | |
paths: | |
- 'packages/leancode_debug_page/**' | |
jobs: | |
test: | |
name: Flutter ${{ matrix.channel }}${{ matrix.version }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- version: '3.24.x' | |
- channel: 'stable' | |
defaults: | |
run: | |
working-directory: packages/leancode_debug_page | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: ${{ matrix.channel }} | |
flutter-version: ${{ matrix.version }} | |
cache: true | |
- name: Download pub dependencies | |
run: flutter pub get | |
- name: Run analyzer | |
run: flutter analyze | |
- name: Run tests | |
run: flutter test | |
- name: Dry run pub publish | |
# We don't want it to fail the CI, it's just to see how would `pub publish` behave. | |
run: dart pub publish --dry-run || true |