fix(core): fixed background events being called in foreground #530
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: pana | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' | |
flutter_channel: "stable" | |
flutter_version: "3.13.9" | |
on: | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- 'docs/**' | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'docs/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
stream_chat: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: flutterings/dart-package-analyzer@v1 | |
id: analysis | |
with: | |
flutter_version: ${{ env.flutter_version }} | |
flutter_channel: ${{ env.flutter_channel }} | |
relativePath: packages/stream_chat | |
- 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 | |
stream_chat_persistence: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: flutterings/dart-package-analyzer@v1 | |
id: analysis | |
with: | |
flutter_version: ${{ env.flutter_version }} | |
flutter_channel: ${{ env.flutter_channel }} | |
relativePath: packages/stream_chat_persistence | |
- 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: | | |
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX )) | |
if (( $TOTAL < 120 )) | |
then | |
echo Score too low! | |
exit 1 | |
fi | |
stream_chat_flutter_core: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: flutterings/dart-package-analyzer@v1 | |
id: analysis | |
with: | |
flutter_version: ${{ env.flutter_version }} | |
flutter_channel: ${{ env.flutter_channel }} | |
relativePath: packages/stream_chat_flutter_core | |
- 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 | |
stream_chat_flutter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: flutterings/dart-package-analyzer@v1 | |
id: analysis | |
with: | |
flutter_version: ${{ env.flutter_version }} | |
flutter_channel: ${{ env.flutter_channel }} | |
relativePath: packages/stream_chat_flutter | |
- 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 < 100 )) | |
then | |
echo Score too low! | |
exit 1 | |
fi | |
stream_chat_localizations: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: flutterings/dart-package-analyzer@v1 | |
id: analysis | |
with: | |
flutter_version: ${{ env.flutter_version }} | |
flutter_channel: ${{ env.flutter_channel }} | |
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 |