diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f0f9820..adbd8d7 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -10,7 +10,7 @@ concurrency: jobs: analyze: timeout-minutes: 5 - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - uses: kuhnroyal/flutter-fvm-config-action@v1 diff --git a/lib/src/integration_test/option/integration_test_android_option.dart b/lib/src/integration_test/option/integration_test_android_option.dart index bfe5a83..ce87817 100644 --- a/lib/src/integration_test/option/integration_test_android_option.dart +++ b/lib/src/integration_test/option/integration_test_android_option.dart @@ -23,7 +23,8 @@ class IntegrationTestAndroidOption with _$IntegrationTestAndroidOption { }) = _IntegrationTestAndroidOption; static Future fromArguments( - List arguments) async { + List arguments, + ) async { final parser = ArgParser() ..addOption(IntegrationTestParameter.apkPathParam) ..addOption(IntegrationTestParameter.testSuitePathParam) diff --git a/lib/src/integration_test/option/integration_test_ios_option.dart b/lib/src/integration_test/option/integration_test_ios_option.dart index 9368ed2..653e1be 100644 --- a/lib/src/integration_test/option/integration_test_ios_option.dart +++ b/lib/src/integration_test/option/integration_test_ios_option.dart @@ -20,7 +20,8 @@ class IntegrationTestIosOption with _$IntegrationTestIosOption { }) = _IntegrationTestIosOption; static Future fromArguments( - List arguments) async { + List arguments, + ) async { final parser = ArgParser() ..addOption(IntegrationTestParameter.browserstackUserParam) ..addOption(IntegrationTestParameter.browserstackAccessKeyParam) diff --git a/lib/src/integration_test/progress_update_multipart_request.dart b/lib/src/integration_test/progress_update_multipart_request.dart index 52ac4d5..99087fc 100644 --- a/lib/src/integration_test/progress_update_multipart_request.dart +++ b/lib/src/integration_test/progress_update_multipart_request.dart @@ -4,10 +4,10 @@ import 'package:http/http.dart' as http; class ProgressUpdateMultipartRequest extends http.MultipartRequest { ProgressUpdateMultipartRequest( - String method, - Uri url, { + super.method, + super.url, { required this.onProgress, - }) : super(method, url); + }); final void Function(int bytes, int totalBytes) onProgress;