Skip to content

Commit b1e1a66

Browse files
committed
Fix Pana min percentage
1 parent 28f2085 commit b1e1a66

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/dart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
101101
run: |
102102
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
103-
if (( $PERCENTAGE < 100 ))
103+
if (( $PERCENTAGE < 90 ))
104104
then
105105
echo Score too low!
106106
exit 1

.github/workflows/flutter.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ jobs:
145145
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
146146
run: |
147147
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
148-
# 70 because pana does not understand null-safety yet
149-
if (( $PERCENTAGE < 70 ))
148+
if (( $PERCENTAGE < 90 ))
150149
then
151150
echo Score too low!
152151
exit 1

0 commit comments

Comments
 (0)