ci: add a dart format gate and fix the one drifted test file

Format drift was unchecked in CI. Add the gate before analyze and include integration_test in the documented format commands.
This commit is contained in:
zarzet committed 2026-10-18 22:01:32 +07:00
1 parent acbc614f42
commit 0539a12f99
4 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
<!-- Check only commands relevant to this change. Explain skipped checks below. -->
- [ ] `dart format --output=none --set-exit-if-changed lib test`
- [ ] `dart format --output=none --set-exit-if-changed lib test integration_test`
- [ ] `flutter analyze`
- [ ] `flutter test`
- [ ] `bash scripts/check_rust_backend.sh`
+3
View File
@@ -118,6 +118,9 @@ jobs:
- name: Get Flutter dependencies
run: flutter pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed lib test integration_test
- name: Analyze
run: flutter analyze
+1 -1
View File
@@ -167,7 +167,7 @@ that policy.
Flutter and Dart:
```bash
fvm dart format --output=none --set-exit-if-changed lib test
fvm dart format --output=none --set-exit-if-changed lib test integration_test
fvm flutter analyze
fvm flutter test
```
+1 -1
View File
@@ -115,7 +115,7 @@ void main() {
isA<RemoteError>().having(
(error) => error.toString(),
'message',
contains('_ThrowingTrack'),
contains('_ThrowingTrack'),
),
),
);