Migrate to Android Studio Ladybug (#262) #384
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dry Publish | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
jobs: | |
dry-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Flutter | |
uses: ./.github/actions/setup_flutter | |
- name: Install pana | |
run: dart pub global activate pana | |
- name: Run pana | |
id: analysis | |
run: | | |
pana --json . 2>&1 | grep -v '^{"logName"' > pana-report.json | |
JSON_OUTPUT=$(cat pana-report.json | jq -c .) | |
echo "::set-output name=json_output::$JSON_OUTPUT" | |
- uses: fujidaiti/dart-package-inspector@v2 | |
with: | |
report: ${{ steps.analysis.outputs.json_output }} | |
min-convention-points: 30 | |
min-platform-points: 20 | |
min-analysis-points: 40 | |
min-dependency-points: 20 | |
supported-platforms: ios, android | |
- run: flutter pub publish --dry-run |