Skip to content

Commit 1c94455

Browse files
authored
[infra] Only run formatting on dev (dart-lang#3203)
1 parent bc1b32f commit 1c94455

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎.github/workflows/native.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- run: dart pub get
7575

7676
- name: Run pub get, analysis, formatting, generators, tests, and examples.
77-
run: dart tool/ci.dart --all --no-apitool
77+
run: dart tool/ci.dart --all --no-apitool ${{ matrix.sdk == 'stable' && '--no-format' || '' }}
7878

7979
- name: Upload coverage
8080
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e

‎pkgs/hooks_runner/lib/src/build_runner/build_planner.dart‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,7 @@ class PackageGraph {
332332
/// compilation. This enum holds static information about these hooks.
333333
enum Hook {
334334
link('link'),
335-
build('build')
336-
;
335+
build('build');
337336

338337
final String _scriptName;
339338

0 commit comments

Comments
 (0)