Skip to content

style(l10n): 格式化生成的本地化代码以遵循代码风格 #84

style(l10n): 格式化生成的本地化代码以遵循代码风格

style(l10n): 格式化生成的本地化代码以遵循代码风格 #84

Workflow file for this run

# BuSic CI — 每次 push / PR 到 main 时运行代码校验和测试
name: CI
on:
push:
branches: [main]
tags:
- 'v*'
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
FLUTTER_VERSION: '3.29.1'
jobs:
analyze-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
cache: true
- name: Install dependencies
run: flutter pub get
- name: Generate code
run: dart run build_runner build --delete-conflicting-outputs
- name: Analyze
run: flutter analyze --no-fatal-infos
- name: Run tests
run: flutter test