Skip to content

Commit d35e4d4

Browse files
enedclaude
andcommitted
fix: Add melos bootstrap to analysis workflow and fix example dependency
- Add melos bootstrap step to analysis.yml to create pubspec_overrides.yaml files before running dart-package-analyzer - Update example pubspec.yaml to use version constraint (^0.8.0) instead of path dependency This ensures the analysis CI job can properly resolve dependencies for all packages in the monorepo structure. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent fa90c25 commit d35e4d4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/analysis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ jobs:
99
package: [workmanager, workmanager_platform_interface, workmanager_android, workmanager_ios]
1010
steps:
1111
- uses: actions/checkout@v4
12+
- name: bootstrap
13+
run: |
14+
dart pub global activate melos
15+
melos bootstrap
1216
- uses: axel-op/dart-package-analyzer@v3
1317
with:
14-
# Required:
1518
githubToken: ${{ secrets.GITHUB_TOKEN }}
1619
relativePath: ${{ matrix.package }}/

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
permission_handler: ^11.3.1
1212
flutter:
1313
sdk: flutter
14-
workmanager:
14+
workmanager: ^0.8.0
1515

1616

1717
dev_dependencies:

0 commit comments

Comments
 (0)