Skip to content

Implement ColoredTextPrintStrategy #52

Implement ColoredTextPrintStrategy

Implement ColoredTextPrintStrategy #52

Workflow file for this run

name: test
on:
push:
branches: [master]
tags-ignore: ['v*']
pull_request:
branches: [master]
jobs:
test:
name: Flutter ${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: ['3.24.3', '3.3.10', '3.7.3']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: ${{ matrix.version }}
- name: Flutter version
run: flutter --version
- name: Cache pub dependencies
uses: actions/cache@v2
with:
path: ${{ env.FLUTTER_HOME }}/.pub-cache
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
restore-keys: ${{ runner.os }}-pub-
- name: Download pub dependencies
run: flutter pub get
- name: Run analyzer
run: flutter analyze
- 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