WebViewの初回Loadingとpull-to-refreshの実装 #227
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: check-pr | |
on: | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
steps: | |
# https://github.com/actions/checkout | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# https://github.com/kuhnroyal/flutter-fvm-config-action | |
- name: Fetch flutter config | |
uses: kuhnroyal/flutter-fvm-config-action@v2 | |
id: fvm-config-action | |
# https://github.com/subosito/flutter-action | |
- name: Setup flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }} | |
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }} | |
- name: Setup melos | |
run: | | |
ln -s $FLUTTER_ROOT .fvm/flutter_sdk | |
dart pub global activate melos | |
melos bootstrap | |
# https://github.com/invertase/github-action-dart-analyzer | |
- name: Report analyze | |
uses: invertase/github-action-dart-analyzer@v2.0.0 | |
with: | |
fatal-infos: true | |
- name: Check format | |
run: melos run check_format:ci | |
- name: Run test | |
run: melos run report_test --no-select | |
continue-on-error: true | |
# https://github.com/dorny/test-reporter | |
- name: Report test | |
uses: dorny/test-reporter@v1 | |
with: | |
name: 'flutter test' | |
path: '(apps|packages/cores|packages/features)/*/test_report.log' | |
reporter: 'flutter-json' | |
fail-on-error: 'true' |