Skip to content

chore: bump version to 0.3.1-alpha.0 and update formatCurrency defaul… #20

chore: bump version to 0.3.1-alpha.0 and update formatCurrency defaul…

chore: bump version to 0.3.1-alpha.0 and update formatCurrency defaul… #20

Workflow file for this run

name: Flutter CI
on:
push:
branches: [release, develop]
paths:
- "packages/core/flutter/**"
- ".github/workflows/flutter.yml"
pull_request:
branches: [release, develop]
paths:
- "packages/core/flutter/**"
- ".github/workflows/flutter.yml"
workflow_dispatch:
permissions:
contents: read
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
flutter:
name: Flutter (lint+build+test+docs)
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[skip flutter]') }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.27.4"
channel: "stable"
- name: Verify Flutter installation
run: flutter --version
- name: Get dependencies
working-directory: packages/core/flutter
run: flutter pub get
- name: Analyze code
working-directory: packages/core/flutter
run: flutter analyze
- name: Run tests
working-directory: packages/core/flutter
run: flutter test --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
file: packages/core/flutter/coverage/lcov.info
flags: flutter
name: flutter-coverage
- name: Generate docs (dart doc)
working-directory: packages/core/flutter
run: dart doc --output ../../../docs/api/flutter || echo "Dart doc generation failed"
- name: Upload flutter docs
uses: actions/upload-artifact@v4
with:
name: flutter-docs-${{ github.run_id }}
path: docs/api/flutter
if-no-files-found: ignore
retention-days: 30