Skip to content

Commit

Permalink
ci: upgrade pana to 0.22.17 (#4303)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel authored Dec 18, 2024
1 parent 92adcb5 commit 5bd7404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/dart_package/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ runs:
working-directory: ${{ inputs.working_directory }}
shell: ${{ inputs.shell }}
run: |
dart pub global activate pana 0.21.45
dart pub global activate pana 0.22.17
sudo apt-get install webp
PANA=$(pana . --no-warning); PANA_SCORE=$(echo $PANA | sed -n "s/.*Points: \([0-9]*\)\/\([0-9]*\)./\1\/\2/p")
PANA=$(pana . --no-warning --dartdoc-version=8.3.0); PANA_SCORE=$(echo $PANA | sed -n "s/.*Points: \([0-9]*\)\/\([0-9]*\)./\1\/\2/p")
echo "score: $PANA_SCORE"
IFS='/'; read -a SCORE_ARR <<< "$PANA_SCORE"; SCORE=SCORE_ARR[0]; TOTAL=SCORE_ARR[1]
if [ -z "$1" ]; then MINIMUM_SCORE=TOTAL; else MINIMUM_SCORE=$1; fi
Expand Down

0 comments on commit 5bd7404

Please sign in to comment.