feat: Use quill_native_bridge as default impl in DefaultClipboardService, fix related bugs in the extensions package #1777
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π§ͺ Run Tests | |
on: | |
push: | |
branches: [master, dev] | |
pull_request: | |
branches: [master, dev] | |
jobs: | |
tests: | |
name: Check lints and tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: π¦ Checkout repository | |
uses: actions/checkout@v4 | |
- name: π οΈ Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
cache: true | |
- name: π Verify Flutter installation | |
run: flutter --version | |
- name: π₯ Install Flutter dependencies | |
run: flutter pub get | |
- name: π¦ Install dart_quill_delta dependencies | |
run: flutter pub get -C dart_quill_delta | |
- name: π¦ Install flutter_quill_extensions dependencies | |
run: flutter pub get -C flutter_quill_extensions | |
- name: π¦ Install flutter_quill_test dependencies | |
run: flutter pub get -C flutter_quill_test | |
# TODO: Remove quill_native_bridge packages from here once moved to it's own repo | |
# https://github.com/singerdmx/flutter-quill/pull/2230 | |
- name: π¦ Install quill_native_bridge dependencies | |
run: flutter pub get -C quill_native_bridge/quill_native_bridge | |
- name: π¦ Install quill_native_bridge_platform_interface dependencies | |
run: flutter pub get -C quill_native_bridge/quill_native_bridge_platform_interface | |
- name: π¦ Install quill_native_bridge_android dependencies | |
run: flutter pub get -C quill_native_bridge/quill_native_bridge_android | |
- name: π¦ Install quill_native_bridge_ios dependencies | |
run: flutter pub get -C quill_native_bridge/quill_native_bridge_ios | |
- name: π¦ Install quill_native_bridge_macos dependencies | |
run: flutter pub get -C quill_native_bridge/quill_native_bridge_macos | |
- name: π¦ Install quill_native_bridge_windows dependencies | |
run: flutter pub get -C quill_native_bridge/quill_native_bridge_windows | |
- name: π¦ Install quill_native_bridge_web dependencies | |
run: flutter pub get -C quill_native_bridge/quill_native_bridge_web | |
- name: π¦ Install quill_native_bridge_linux dependencies | |
run: flutter pub get -C quill_native_bridge/quill_native_bridge_linux | |
- name: π Run Flutter analysis | |
run: flutter analyze | |
- name: π§Ή Check Dart code formatting | |
run: dart format --set-exit-if-changed . | |
- name: π Preview Dart proposed changes | |
run: dart fix --dry-run | |
- name: π¦ Check if package is ready for publishing | |
run: flutter pub publish --dry-run | |
- name: π§ͺ Run Flutter tests | |
run: flutter test | |
- name: π Check the translations | |
run: dart ./scripts/ensure_translations_correct.dart |