Update example #63
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: Pull Request Check | |
on: | |
pull_request: | |
env: | |
FLUTTER_VERSION: 3.13.0 | |
FLUTTER_CHANNEL: 'stable' | |
jobs: | |
pr-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: set up flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{ env.FLUTTER_VERSION }} | |
channel: ${{ env.FLUTTER_CHANNEL }} | |
cache: true | |
cache-key: ${{ env.FLUTTER_VERSION }}-${{ env.FLUTTER_CHANNEL }} | |
- name: set up melos | |
run: | | |
flutter pub global activate melos | |
./scripts/setup.sh | |
- name: analyze all packages | |
run: | | |
flutter pub global run melos run analyze | |
- name: test all packages | |
run: | | |
flutter pub global run melos run test |