diff --git a/.github/workflows/dart_package.yml b/.github/workflows/dart_package.yml index 4e0add9..5783eb9 100644 --- a/.github/workflows/dart_package.yml +++ b/.github/workflows/dart_package.yml @@ -62,6 +62,10 @@ on: required: false type: boolean default: false + run_bloc_lint: + type: boolean + default: true + required: false secrets: ssh_key: required: false @@ -104,6 +108,12 @@ jobs: - name: 🕵️ Analyze run: dart analyze --fatal-infos --fatal-warnings ${{inputs.analyze_directories}} + - name: ✅ Bloc Lint + if: ${{inputs.run_bloc_lint}} + run: | + dart pub global activate bloc_tools + bloc lint . + - name: 🧪 Run Tests run: | dart pub global activate coverage 1.2.0 diff --git a/.github/workflows/flutter_package.yml b/.github/workflows/flutter_package.yml index a03f4c2..f3f9c6f 100644 --- a/.github/workflows/flutter_package.yml +++ b/.github/workflows/flutter_package.yml @@ -58,6 +58,10 @@ on: required: false type: string default: "!*" + run_bloc_lint: + type: boolean + default: true + required: false secrets: ssh_key: required: false @@ -105,6 +109,12 @@ jobs: - name: 🕵️ Analyze run: flutter analyze ${{inputs.analyze_directories}} + - name: ✅ Bloc Lint + if: ${{inputs.run_bloc_lint}} + run: | + flutter pub global activate bloc_tools + bloc lint . + - name: 🧪 Run Tests run: very_good test -j ${{inputs.concurrency}} ${{(inputs.test_recursion && '--recursive') || ''}} ${{(inputs.test_optimization && '--optimization') || '--no-optimization'}} --coverage --test-randomize-ordering-seed random diff --git a/examples/flutter_package/pubspec.lock b/examples/flutter_package/pubspec.lock index 86b25d6..fad3720 100644 --- a/examples/flutter_package/pubspec.lock +++ b/examples/flutter_package/pubspec.lock @@ -5,18 +5,18 @@ packages: dependency: transitive description: name: async - sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" + sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb" url: "https://pub.dev" source: hosted - version: "2.11.0" + version: "2.13.0" boolean_selector: dependency: transitive description: name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" characters: dependency: transitive description: @@ -124,10 +124,10 @@ packages: dependency: transitive description: name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" + sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.10.1" stack_trace: dependency: transitive description: @@ -148,18 +148,18 @@ packages: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.4.1" term_glyph: dependency: transitive description: name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e" url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.2.2" test_api: dependency: transitive description: