Fix mistakes in documentation #87
Workflow file for this run
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 | |
with: | |
target: package | |
- name: Install pana | |
run: dart pub global activate pana | |
- name: Run pana | |
id: analysis | |
run: | | |
pana --json package 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@v1 | |
with: | |
report: ${{ steps.analysis.outputs.json_output }} | |
min-convention-points: 30 | |
min-platform-points: 20 | |
min-analysis-points: 50 | |
min-dependency-points: 20 | |
supported-platforms: ios, android | |
- run: flutter pub publish --dry-run | |
working-directory: package |