Skip to content

fix: add extra space between emoji and message. #21

fix: add extra space between emoji and message.

fix: add extra space between emoji and message. #21

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
types: [ opened, synchronize, reopened ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
sonarqube:
name: SonarQube
runs-on: ubuntu-latest
timeout-minutes: 30
env:
PUB_ENVIRONMENT: ci
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
# Setup Dart tools (Dart SDK, Melos, Mason)
- name: Setup Dart tools
uses: saymyframe/.github/.github/actions/setup-dart-tools@main
with:
sdk: "3.9.0"
- name: Cache pub packages
uses: actions/cache@v4
with:
path: |
~/.pub-cache
key: ${{ runner.os }}-dart-3.9.0-pub-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
${{ runner.os }}-dart-3.9.0-pub-
# Clone external packages before Melos resolves the workspace
- name: Fetch external packages (contracts/modules)
run: dart tools/fetch_modules.dart
# Bootstrap the monorepo
- name: Bootstrap monorepo
run: melos bootstrap
# Optional quality checks can be run here (format/analyze/tests)
# Skipped because they currently fail in CI; enable when fixed.
# Generate coverage for smf_flutter_cli
- name: Install coverage tool
run: dart pub global activate coverage
- name: Run tests with coverage (smf_flutter_cli)
run: |
cd packages/smf_flutter_cli
dart test --coverage=coverage
format_coverage \
-i coverage \
-o coverage/lcov.info \
--lcov \
--report-on=lib
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}