fix(android): sync IME selection so typing follows the tapped caret (… #7
This file contains hidden or 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: Code Quality Checks | |
| on: | |
| push: | |
| branches: [master, dev] | |
| pull_request: | |
| branches: [master, dev] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| # Pinned so a future Flutter/Dart release can't change formatter output | |
| # and turn the format check below red on unrelated PRs. Bump deliberately | |
| # alongside a repo-wide reformat (see .git-blame-ignore-revs). | |
| flutter-version: 3.44.1 | |
| channel: stable | |
| cache: true | |
| - name: Verify Flutter installation | |
| run: flutter --version | |
| - name: Install Flutter dependencies | |
| run: flutter pub get | |
| - 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 | |
| - name: Perform 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 | |
| # TODO: Restore Dart formatting check, disabled due to an issue https://github.com/singerdmx/flutter-quill/actions/runs/13355109619/job/37296760819. | |
| # - name: Check if the flutter_quill package is ready for publishing | |
| # run: flutter pub publish --dry-run | |
| # # TODO: Restore Dart formatting check, disabled due to an issue https://github.com/singerdmx/flutter-quill/actions/runs/13355109619/job/37296760819. | |
| # - name: Check if the flutter_quill_extensions is ready for publishing | |
| # run: flutter pub publish --dry-run -C flutter_quill_extensions | |
| - name: Check the translations | |
| run: dart ./scripts/translations_check.dart | |
| - name: Install cider | |
| run: dart pub global activate cider | |
| # TODO: Need a more strict way to validate the format that uses https://keepachangelog.com/en/1.1.0/ | |
| - name: Validate CHANGELOG.md format | |
| run: $HOME/.pub-cache/bin/cider list CHANGELOG.md |