Merge pull request #2716 from krille-chan/krille/remove-unused-dependencies
refactor: Remove unused dependencies and add CI check
This commit is contained in:
commit
344e84ae3e
6 changed files with 9 additions and 90 deletions
4
.github/workflows/integrate.yaml
vendored
4
.github/workflows/integrate.yaml
vendored
|
|
@ -28,6 +28,10 @@ jobs:
|
|||
- name: Check license compliance
|
||||
run: dart run license_checker check-licenses -c licenses.yaml --problematic
|
||||
- run: flutter analyze
|
||||
- name: Search unused dependencies
|
||||
run: |
|
||||
dart pub global activate dependency_validator
|
||||
dart pub global run dependency_validator
|
||||
- run: dart run dart_code_linter:metrics analyze lib --reporter=github
|
||||
- run: dart run dart_code_linter:metrics check-unused-code lib
|
||||
- run: dart run dart_code_linter:metrics check-unused-files lib
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue