Skip to content

Commit

Permalink
Add analyzer to CI and fix its errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert221 committed Jul 20, 2020
1 parent f08c1eb commit 5b4fff8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@ jobs:
- name: Download pub dependencies
run: flutter pub get

- name: Run analyzer
run: flutter analyze

- name: Run tests
run: flutter pub run test
run: flutter pub test
4 changes: 2 additions & 2 deletions lib/src/arbify_cli.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ArbifyCli {

OutputFileUtils _fileUtils;

void run(List<String> args) async {
Future<void> run(List<String> args) async {
final results = _argParser.parse(args);

if (results['help'] as bool) {
Expand Down Expand Up @@ -177,7 +177,7 @@ Secret: """);
}
}

void runDownload(Config config) async {
Future<void> runDownload(Config config) async {
await _fetchExports(config);
_saveLocalizationDartFileOrExit();
_runIntlTranslationGenerateFromArb(config);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: arbify
description: >
A package providing support for internationalizing
Flutter applications using intl package with Arbify.
version: 0.0.7
version: 0.0.8
homepage: https://github.com/Arbify/arbify_flutter

environment:
Expand Down

0 comments on commit 5b4fff8

Please sign in to comment.