Skip to content

fix: Android initialization bug and iOS 14 availability annotations #318

fix: Android initialization bug and iOS 14 availability annotations

fix: Android initialization bug and iOS 14 availability annotations #318

Workflow file for this run

name: analysis
on: pull_request
jobs:
package-analysis:
runs-on: ubuntu-latest
strategy:
matrix:
package: [workmanager, workmanager_platform_interface, workmanager_android, workmanager_apple]
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true
- uses: bluefireteam/melos-action@v3
# unused until https://github.com/dart-lang/pana/issues/1020 is fixed
# # Only run dart-package-analyzer on the main workmanager package
# # The platform-specific packages are not meant to be published individually
# - uses: axel-op/dart-package-analyzer@v3
# if: matrix.package == 'workmanager'
# with:
# githubToken: ${{ secrets.GITHUB_TOKEN }}
# relativePath: ${{ matrix.package }}/
- name: Analyze package
run: |
cd ${{ matrix.package }}
flutter analyze
dart pub publish --dry-run