Skip to content

Commit 44523e7

Browse files
committed
Add check-unused-code to DCM CI checks.
1 parent cc4971d commit 44523e7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,13 @@ jobs:
7979
echo "$(dcm --version)"
8080
- name: Setup Dart SDK
8181
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
82-
- name: Run DCM on root
82+
- name: Run dcm analyze on root
8383
run: |
8484
dcm analyze packages/devtools_app packages/devtools_app_shared packages/devtools_extensions packages/devtools_shared packages/devtools_test
85+
- name: Run dcm checks on packages
86+
# TODO(https://github.com/flutter/devtools/issues/9906): run on all packages.
87+
run: |
88+
dcm check-unused-code packages/devtools_app
8589
8690
test-packages:
8791
name: ${{ matrix.os }} ${{ matrix.package }} test

0 commit comments

Comments
 (0)