Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bump_templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- uses: dart-lang/setup-dart@v1.8.0
with:
sdk: "3.12.0"
sdk: "3.13.0"

- name: Install mason
run: dart pub global activate mason_cli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.44.x"
flutter-version: "3.47.x"

- name: Install LCOV
run: sudo apt-get install -y lcov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pub_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1.8.0
with:
sdk: "3.12.0"
sdk: "3.13.0"
- name: 📦 Install Dependencies
run: dart pub get
- name: 📢 Publish
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spdx_license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build_hooks:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1.20.1
with:
dart_sdk: "3.12.0"
dart_sdk: "3.13.0"
working_directory: tool/spdx_license/hooks
analyze_directories: "."
report_on: "pre_gen,post_gen"
Expand All @@ -42,7 +42,7 @@ jobs:
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1.8.0
with:
sdk: "3.12.0"
sdk: "3.13.0"

- name: 📦 Install Dependencies
run: dart pub get
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spdx_license_bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2.8.0
with:
flutter-version: "3.44.x"
flutter-version: "3.47.x"

- name: 📦 Install Dependencies
run: dart pub get
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_optimizer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
build_hooks:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1.20.1
with:
dart_sdk: "3.12.0"
dart_sdk: "3.13.0"
working_directory: bricks/test_optimizer/hooks

verify_bundle:
Expand All @@ -34,7 +34,7 @@ jobs:

- uses: dart-lang/setup-dart@v1.8.0
with:
sdk: "3.12.0"
sdk: "3.13.0"

- name: Install mason
run: dart pub global activate mason_cli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/very_good_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1.20.1
with:
runs_on: ${{ matrix.os }}
flutter_version: "3.44.x"
flutter_version: "3.47.x"
coverage_excludes: "**/*.{gen,g}.dart"
concurrency: 1
run_skipped: true
Expand Down
7 changes: 7 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ analyzer:
- "**/*.g.dart"
- "**/version.dart"
- "bricks/**/__brick__"
- build/**
- android/**
- ios/**
- web/**
- windows/**
- macos/**
- linux/**
9 changes: 9 additions & 0 deletions bricks/test_optimizer/hooks/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
analyzer:
exclude:
- build/**
- android/**
- ios/**
- web/**
- windows/**
- macos/**
- linux/**
include: package:very_good_analysis/analysis_options.yaml
linter:
rules:
Expand Down
2 changes: 1 addition & 1 deletion bricks/test_optimizer/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: hooks
publish_to: none

environment:
sdk: ^3.12.0
sdk: ^3.13.0

dependencies:
mason: ^0.1.0
Expand Down
7 changes: 7 additions & 0 deletions e2e/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@ include: package:very_good_analysis/analysis_options.yaml
analyzer:
exclude:
- test/commands/test/**
- build/**
- android/**
- ios/**
- web/**
- windows/**
- macos/**
- linux/**
2 changes: 1 addition & 1 deletion e2e/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.12.0
sdk: ^3.13.0

dev_dependencies:
mason: ^0.1.0
Expand Down
2 changes: 1 addition & 1 deletion e2e/test/commands/test/async_main/fixture/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.12.0
sdk: ^3.13.0

dev_dependencies:
test: ^1.24.3
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
analyzer:
exclude:
- test
- build/**
- android/**
- ios/**
- web/**
- windows/**
- macos/**
- linux/**
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.12.0
sdk: ^3.13.0

dev_dependencies:
test: ^1.24.3
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Fixture for testing golden files with spaced file names.
publish_to: none

environment:
sdk: ^3.12.0
sdk: ^3.13.0

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.12.0
sdk: ^3.13.0

dev_dependencies:
test: ^1.24.3
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.12.0
sdk: ^3.13.0

dev_dependencies:
test: ^1.24.3
14 changes: 7 additions & 7 deletions lib/src/cli/cli.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'dart:async';
import 'dart:math';

import 'package:collection/collection.dart';
import 'package:coverage/coverage.dart' as coverage;
import 'package:glob/glob.dart';
Expand All @@ -26,13 +27,12 @@ const R Function<R>(
_asyncRunZoned = runZoned;

/// Type definition for [Process.run].
typedef RunProcess =
Future<ProcessResult> Function(
String executable,
List<String> arguments, {
String? workingDirectory,
bool runInShell,
});
typedef RunProcess = Future<ProcessResult> Function(
String executable,
List<String> arguments, {
String? workingDirectory,
bool runInShell,
});

/// This class facilitates overriding [Process.run].
/// It should be extended by another class in client code with overrides
Expand Down
Loading
Loading