feat: ✨ Update Example & README.md #47
Workflow file for this run
This file contains hidden or 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: Build | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout input branch from github | |
| uses: actions/checkout@v4.1.1 | |
| - name: Install Flutter | |
| uses: subosito/flutter-action@v2.13.0 | |
| with: | |
| flutter-version: '3.22.0' | |
| cache: true | |
| cache-key: 'flutter-macos-stable-3.22.0' | |
| cache-path: '${{ runner.tool_cache }}/flutter/macos-stable-3.22.0' | |
| pub-cache-key: 'flutter-pub-macos-stable-3.22.0' | |
| - name: Flutter pub get | |
| run: flutter pub get | |
| - name: Flutter Analyze | |
| run: dart analyze | |
| - name: Code Formatting | |
| run: dart format --set-exit-if-changed . | |
| - name: Check Publish Warnings | |
| run: flutter pub publish --dry-run |