Skip to content

Commit

Permalink
Updated files giving error in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Raviramnani1 committed Jul 30, 2024
1 parent e23082c commit 71356cf
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 10 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/codeql-default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ name: "CodeQL"

on:
push:
branches: [ "main", [dmsm][eata][vsai][!o]* ]
branches:
- "main"
- "dmsm*"
- "eata*"
- "vsai*"
- "!o*"
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
cd easel
touch lib/env.dart
echo "const apiKey = \"${{ secrets.EASEL_TOKEN }}\"; " >> lib/env.dart
echo "const X_API_KEY: ${{ secrets.X_API_KEY }}\"; " >> lib/env.dart
./android/app/json_manipulator.sh RANDOM_STRING
flutter pub get
flutter analyze
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.22.5
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
1 change: 0 additions & 1 deletion easel/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ analyzer:
# implicit-dynamic: true
errors:
avoid_setters_without_getters: ignore
import_of_legacy_library_into_null_safe: error
avoid_single_cascade_in_expression_statements: ignore
missing_required_param: error
# implicit_dynamic_map_literal: ignore
Expand Down
1 change: 0 additions & 1 deletion wallet/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ analyzer:
# implicit-dynamic: true
errors:
avoid_setters_without_getters: ignore
import_of_legacy_library_into_null_safe: error
avoid_single_cascade_in_expression_statements: ignore
missing_required_param: error
# implicit_dynamic_map_literal: ignore
Expand Down
9 changes: 5 additions & 4 deletions wallet/test/mocks/test_mocks.mocks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -920,23 +920,24 @@ class MockFirebaseAppCheck extends _i1.Mock implements _i19.FirebaseAppCheck {
) as Map<dynamic, dynamic>);
@override
_i8.Future<void> activate({
String? webRecaptchaSiteKey,
_i20.AndroidProvider? androidProvider = _i20.AndroidProvider.playIntegrity,
_i20.AppleProvider? appleProvider = _i20.AppleProvider.deviceCheck,
_i20.AndroidProvider androidProvider = _i20.AndroidProvider.playIntegrity, // Set a default value if necessary
_i20.AppleProvider appleProvider = _i20.AppleProvider.deviceCheck, // Set a default value if necessary
_i20.WebProvider? webProvider,
}) =>
(super.noSuchMethod(
Invocation.method(
#activate,
[],
{
#webRecaptchaSiteKey: webRecaptchaSiteKey,
#androidProvider: androidProvider,
#appleProvider: appleProvider,
#webProvider: webProvider,
},
),
returnValue: _i8.Future<void>.value(),
returnValueForMissingStub: _i8.Future<void>.value(),
) as _i8.Future<void>);

@override
_i8.Future<String?> getToken([bool? forceRefresh]) => (super.noSuchMethod(
Invocation.method(
Expand Down
2 changes: 1 addition & 1 deletion wallet/test/widget_testing/extension/size_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ extension SetScreenSize on WidgetTester {
),
),
);
}), duration);
}), duration: duration);
}
}
2 changes: 1 addition & 1 deletion wallet/test/widget_testing/helpers/size_extensions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ extension SetScreenSize on WidgetTester {
}),
);
});
}), duration);
}), duration: duration);
}
}

0 comments on commit 71356cf

Please sign in to comment.