Skip to content

ci: setup checks and tests workflows #1

ci: setup checks and tests workflows

ci: setup checks and tests workflows #1

Workflow file for this run

name: ✅ Code Quality Checks
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
checks:
name: 🔍 Code Quality and Formatting Verification
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: 📥 Checkout Repository
uses: actions/checkout@v4
- name: 🛠️ Setup Flutter (Stable)
uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: 📦 Install All Package Dependencies
run: dart ./scripts/pub_get.dart
- name: 📦 Install Example Project Dependencies
run: flutter pub get -C quill_native_bridge/example
- name: 🎨 Perform Flutter Analysis
run: flutter analyze
- name: 🔎 Validate Dart Code Formatting
run: dart format --set-exit-if-changed .
- name: 🔄 Preview Potential Dart Fixes
run: dart fix --dry-run
- name: 📦 Verify Package Readiness for Publishing
run: dart ./scripts/publish_dry_run.dart
- name: 🔎 Validate Swift Code Formatting
uses: feather-actions/[email protected]
with:
swift-format-version: 600.0.0
- name: 🔎 Validate Kotlin Code Formatting
uses: "block42-blockchain-company/ktlint-action@master"