diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index b7fa18c0..9fb53a74 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -19,7 +19,7 @@ -- [ ] `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` diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37635ed7..0aaaf249 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 15a38be7..b5a8a94b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 ``` diff --git a/test/download_queue_codec_test.dart b/test/download_queue_codec_test.dart index 6d4de2f3..cdad01c0 100644 --- a/test/download_queue_codec_test.dart +++ b/test/download_queue_codec_test.dart @@ -115,7 +115,7 @@ void main() { isA().having( (error) => error.toString(), 'message', - contains('_ThrowingTrack'), + contains('_ThrowingTrack'), ), ), );