Merge branch 'master' into release/v6.1.0
This commit is contained in:
@@ -56,7 +56,7 @@ jobs:
|
|||||||
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
|
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
|
||||||
run: |
|
run: |
|
||||||
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
|
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
|
||||||
if (( $TOTAL < 90 ))
|
if (( $TOTAL < 120 ))
|
||||||
then
|
then
|
||||||
echo Score too low!
|
echo Score too low!
|
||||||
exit 1
|
exit 1
|
||||||
@@ -101,3 +101,23 @@ jobs:
|
|||||||
echo Score too low!
|
echo Score too low!
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
stream_chat_localizations:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: axel-op/dart-package-analyzer@v3
|
||||||
|
id: analysis
|
||||||
|
with:
|
||||||
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
relativePath: packages/stream_chat_localizations
|
||||||
|
- name: Check scores
|
||||||
|
env:
|
||||||
|
# NB: "analysis" is the id set above. Replace it with the one you used if different.
|
||||||
|
TOTAL: ${{ steps.analysis.outputs.total }}
|
||||||
|
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
|
||||||
|
run: |
|
||||||
|
if (( $TOTAL < 120 ))
|
||||||
|
then
|
||||||
|
echo Score too low!
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user