Skip to content

relax dependency constraints #54

relax dependency constraints

relax dependency constraints #54

Workflow file for this run

name: Pana rating
on: [push, pull_request]
jobs:
package-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: axel-op/dart-package-analyzer@v3
id: pana_run
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Check scores
run: |
MAINTENANCE_SCORE=${{ steps.pana_run.outputs.maintenance }}
HEALTH_SCORE=${{ steps.pana_run.outputs.health }}
if (( $(echo "$MAINTENANCE_SCORE < 100" | bc) )) || (( $(echo "$HEALTH_SCORE < 100" | bc) ))
then
echo "Pana scores are not both equal to 100"
exit 1
fi